Browse thread
Data type representing 'Money'
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2009-05-16 (07:27) |
From: | Conglun Yao <yaoconglun@g...> |
Subject: | Data type representing 'Money' |
Hi all, Is there any data type could be used to represent 'Money' in OCaml, similar to BigDecimal. I see a lot of programs using float directly. Maybe Num would be better, but less document could be found, for example, how to represent 20.27 Or there already exist a better solution. Thanks for any help. Conglun