Decimal places

Tore Nilsen tore.nilsen at me.com
Sat Nov 14 12:22:59 EST 2015


Have you had a look at numberFormat? You can set the numberFormat to display 2 decimals.

Tore

> 14. nov. 2015 kl. 18.20 skrev Richmond <richmondmathewson at gmail.com>:
> 
> So I have started a "baby calculator" to help 5 year old kids get their heads round European coins
> and it has an output box where added coins go.
> 
> Now, if I add 2 Euros to 50 cents the field displays 2.5
> 
> and
> 
> I want it to display 2.50.
> 
> So would be most grateful if somebody could put me right in this respect.
> 
> Probably something very simple.
> 
> Richmond.
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list