[Newbies] Arithmetic operators

Jakub seasidebeginner at gmail.com
Sun Feb 10 20:06:04 UTC 2008


Hello, i have one beginners problem:

                            pomPrice := (item value / 100) *  item price.

                            Transcript show: 'Price is: '; show: pomPrice;
cr.
result:
Price is: (1999/20)
item value is 5
item price is 1999

but i need value = number :)

thnx

-- 
Jakub.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20080210/13a17347/attachment.htm


More information about the Beginners mailing list