From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id 5883921525 for ; Thu, 14 Nov 2024 09:23:37 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id CC5B5485154 for ; Thu, 14 Nov 2024 09:20:33 +0100 (CET) Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=ntg.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntg.nl; h= content-transfer-encoding:content-type:content-type:from:from :list-unsubscribe:list-subscribe:list-post:list-owner:list-help :list-archive:archived-at:list-id:subject:subject:reply-to :precedence:in-reply-to:content-language:references:mime-version :date:date:message-id:received:received:received:received :received:received; s=cgl; t=1731572433; x=1734164434; bh=xXYaZE /Eux3CeytIAWmNq/bFSXFzRZ221GZqbJ269CU=; b=KTIu3EpmCZYTGBzpdGOmMX VHAif45vUuePCBbdeqUfgzmDvR/XeMgki2fUzGKpBVgU1cgTiPOooP4A2MwYz7ae yz4sejmEpa2psfFwMCX4dQmRYSyCx1v1csJfssL7tuWLFvABvDcIQXCIBwcwMopt +yBenKs4QyMh8+mmhOL6Y= X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=mailbox.org Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LND7R7fRGqXW for ; Thu, 14 Nov 2024 09:20:33 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 41755485161 for ; Thu, 14 Nov 2024 09:19:42 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id AE3CF484FE5 for ; Thu, 14 Nov 2024 09:18:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9eXFaW1xXV5l for ; Thu, 14 Nov 2024 09:18:57 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=80.241.56.152; helo=mout-p-102.mailbox.org; envelope-from=juh+ntg-context@mailbox.org; receiver= Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [80.241.56.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 66CBE484FE2 for ; Thu, 14 Nov 2024 09:18:57 +0100 (CET) Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4XptMz0v0qz9v8V for ; Thu, 14 Nov 2024 09:18:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1731572335; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kfme/5c8+0lrX5B2ccj6a58mTwNiPPIZKPNU976Mx6U=; b=Lk4H1AGXvlPNpaDV7yx2kNkMzjTr//y4zTmzbKEWiprdydkjUthcc8TA46lQ/BJ8VcYMWE B/X+yYe06jCVjN8E30pqSD3XrH+Kwsd5a9imJfYbNME4qQeeTyg5TI8zZSpQKZSR6c+s9h jrcS4CXMuqGr6+/WV+n4IejWOlOuDoCP1QQ81MYGm2S5w23vO62Hx4HffQaWo+YZUhcEfc ICfIV47sltI71mtLY6j6jEXDGJsngcb20Uzjp7rFwvVHiY+8M/6fXiRZcHPQ5Qm/elYLVe cQXak8+IlDc3JKy1hiVPJo3dVn8t5D1ulbLJ015SbcgzHn0ai22bhFWO6XsTXg== Message-ID: Date: Thu, 14 Nov 2024 09:18:53 +0100 MIME-Version: 1.0 To: ntg-context@ntg.nl References: <8291d068-6311-422d-a6d2-eaadba2a2a9a@mailbox.org> <120fd637-7671-4252-921c-9dc08c328d77@fiee.net> <0a76a466-ba65-43a9-806f-eac63f6a882f@mailbox.org> <97c32d55-eefd-4e9c-a5ef-71e4ded75696@mailbox.org> Content-Language: de-DE In-Reply-To: <97c32d55-eefd-4e9c-a5ef-71e4ded75696@mailbox.org> X-MBO-RS-ID: e4c8c872bad136049f2 X-MBO-RS-META: gcabncxwd5bixz3htnbzhgyt5fu6keub Message-ID-Hash: BSTH4YLKERE3VWOBDUZR2OGZAKE4CF6Q X-Message-ID-Hash: BSTH4YLKERE3VWOBDUZR2OGZAKE4CF6Q X-MailFrom: juh+ntg-context@mailbox.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: string.formatters List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: juh+ntg-context--- via ntg-context Cc: juh+ntg-context@mailbox.org Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit Am 14.11.24 um 08:59 schrieb juh+ntg-context--- via ntg-context: > \starttext > \startluacode > context(string.formatters["%0.2M"](1000)) > \stopluacode > \stoptext > > Gives 10.2000,00 context(string.formatters["%M"](1000)) Gives the right result. But I am still confused. juh ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________