Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
when 1.6 != 1.6? -- newbie
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Mel Bohince, post: 4466726"] Thanks to all for the help! I'll remember the assert_in_delta in the future when testing on floats. The point about avoiding float when doing currency is sound advice, yet opens a new chapter of issues when deal with big numbers in special pricing units of measure. Then Googled "Class Money" got a spiffy "ruby" Money at <[URL]http://www2a.biglobe.ne.jp/~seki/ruby/sbpp8.html[/URL]> and a nice interface from junit.samples.money; ah, other have blazed and paved the trail. Thanks. -: -: -: -: -: -: -: -: \|/ -: -: -: -: -: -: -: -: cU mel [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
when 1.6 != 1.6? -- newbie
Top