Isn't it wonderful when one thinks, "Gee wouldn't it be nice if we had
...", and it is already there.


On Tue, Aug 26, 2014 at 11:16 PM, Doug Coleman <[email protected]> wrote:
> Try the decimals and money vocabularies.
>
> On Aug 26, 2014 8:14 PM, "mr wzrd" <[email protected]> wrote:
>>
>> Also, was wondering if there is planned future support for dollar amounts.
>>
>> Wondering how dollar amounts could be defined using the existing number
>> classes.
>>
>> The dollar amounts I was working with are initially stored as strings.
>>
>> I could not compare values as strings, because "70.70" would not be
>> equivalent to "70.7".
>>
>> So, I compared as float values, but then sometimes I get
>> 19.100000000002 in the output.
>>
>>
>> ------------------------------------------------------------------------------
>> Slashdot TV.
>> Video for Nerds.  Stuff that matters.
>> http://tv.slashdot.org/
>> _______________________________________________
>> Factor-talk mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to