Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

math operations - v - (v // 0.01)

 [1/3] from: arolls:bigpond:au at: 5-Aug-2001 23:43


>> v: 1.23456
== 1.23456
>> v - (v // 0.01)
== 1.23

 [2/3] from: john::thousand-hills::net at: 5-Aug-2001 17:11


What I am looking for is to display 2 decimal places. In other words, if an entry of 4 is entered, I want it to display 4.00 -like money. /john At 11:43 PM 8/5/2001 +1000, you wrote:

 [3/3] from: tomc:darkwing:uoregon at: 5-Aug-2001 16:56


>> ? money
Found these words: money! (datatype) money? (action) to-money (function)
>> a: 4
== 4
>> to-money a
== $4.00 --golly who'av thunkit On Sun, 5 Aug 2001, john wrote: