ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Numerical Calculations
@ 2012-12-19 18:09 Troy Henderson
  2012-12-19 18:16 ` Thomas A. Schmitz
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Troy Henderson @ 2012-12-19 18:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 185 bytes --]

Is there a way to for ConTeXt to do basic arithmetic operations?  For
example,

\calc{1+2} and have it return 3 or

\calc{1/3.8} and have it return 0.263157894736842 (or rounded)

Troy

[-- Attachment #1.2: Type: text/html, Size: 208 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2012-12-21 12:56 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-19 18:09 Numerical Calculations Troy Henderson
2012-12-19 18:16 ` Thomas A. Schmitz
2012-12-19 18:18 ` Hans Hagen
2012-12-19 18:19 ` Hans Hagen
2012-12-19 18:43   ` Troy Henderson
2012-12-19 19:19     ` Roland Thiers
2012-12-19 19:26       ` Hans Hagen
2012-12-19 19:25     ` Hans Hagen
     [not found]       ` <CAFP+xFK89EWiM7SbhVvZKPe1Hv2UKNGAgo6B8kaJNaE363dWpA@mail.gmail.com>
     [not found]         ` <CAFP+xFJqt=j-3B1y2LpYj6Xuu19viGScjEea=rN5FtVsotd3yw@mail.gmail.com>
2012-12-19 20:30           ` Hans Hagen
2012-12-19 20:54             ` Troy Henderson
2012-12-19 22:05               ` Marco Patzer
2012-12-19 22:10                 ` Troy Henderson
2012-12-19 23:03                   ` Troy Henderson
2012-12-21 12:22                     ` Andre Caldas
2012-12-21 12:56                       ` Troy Henderson
2012-12-19 23:20                   ` Marco Patzer
2012-12-19 19:32     ` Philipp Gesang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).