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 E85C722509 for ; Tue, 15 Oct 2024 14:39:29 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 2F6784856D2 for ; Tue, 15 Oct 2024 14:34:53 +0200 (CEST) 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=1728995692; x=1731587693; bh=G9SkmT cBGe2Yblc/dXv2CVHGCbmRTpirgwbcUII6AZI=; b=gF2JUDdE2VlD73OaHC7bHW lQRa/CuV0aYWId7jPGchtWNvjbeIEvC60CQpWoLUIdYcPv0ZA7/SO0zFK6z9aKwp TcqEuRGV0GALry9+qEGHwj7gl2ev+guPAQ+YKdVTLwa05CBiyzy4TAsfIO1b3RGh ZDdrx0hJ7SLdzDVw/dIJQ= 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 G6a3r8WjIh6X for ; Tue, 15 Oct 2024 14:34:52 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 5023F4858FE for ; Tue, 15 Oct 2024 14:33:56 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 05D1448556F for ; Tue, 15 Oct 2024 14:33:15 +0200 (CEST) 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 Po0n7TsSUCZH for ; Tue, 15 Oct 2024 14:33:14 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=80.241.56.151; helo=mout-p-101.mailbox.org; envelope-from=juh+ntg-context@mailbox.org; receiver= Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [80.241.56.151]) (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 58A29485568 for ; Tue, 15 Oct 2024 14:33:14 +0200 (CEST) Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (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-101.mailbox.org (Postfix) with ESMTPS id 4XSYRD0mSMz9sl9 for ; Tue, 15 Oct 2024 14:33:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1728995592; 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=r5HnpQGPbnIrvvScEaHcNE2D1adg35XAr6FHIiCzcZM=; b=k1yyX0mceikOoUiU4pwnmDAZu8X2/40zIrybemhRrpvwmVAOGNcM1yRr54ynd8xL49Taqm xrpxVeQ0KanKruofiDfbRoMtmkmyAtVPLWkA6WBfqDKYNnZY4Nww4YpGbYs2ENhWlBOYP0 +n/94qLcMoPXDLkyFG4GhmL+hUdfFS/cbtVpE7qBvOef1OrxdgxZNauob2an1dLE/SKQ+6 uV2zE6VM8MRT7VlXEOoczLoAIYu4xxopMOgDpBSO/LhyR04pKOr6hzsX5tyPlB0v6sdz+N nS/fs6GFWFyIt+8g9Z7zetU0w6j/r9KoLnYtNeD0INb0pCG3wtSNG4AIuVE0FQ== Message-ID: <0a76a466-ba65-43a9-806f-eac63f6a882f@mailbox.org> Date: Tue, 15 Oct 2024 14:33:10 +0200 MIME-Version: 1.0 To: ntg-context@ntg.nl References: <8291d068-6311-422d-a6d2-eaadba2a2a9a@mailbox.org> <120fd637-7671-4252-921c-9dc08c328d77@fiee.net> Content-Language: de-DE In-Reply-To: <120fd637-7671-4252-921c-9dc08c328d77@fiee.net> X-MBO-RS-META: zaxnem6pf336th9ufk6kug56sf1tisa3 X-MBO-RS-ID: 91b0f482044f4c5a054 Message-ID-Hash: QPFUFJ2DPBZ5OP2ZBE7NNXF5BJBYBACP X-Message-ID-Hash: QPFUFJ2DPBZ5OP2ZBE7NNXF5BJBYBACP 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: max function in spreadsheettable 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 15.10.24 um 12:42 schrieb Henning Hraban Ramm: > I guess you know the cld-mkiv manual? I know that it is there. ;-) I'll try to reimplement the document with cld. First question: local sum = string.format("%0.2f", (0.3 * 100)) Gives 30.00 how do I get 30,00 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 ___________________________________________________________________________________