From: Mark Somerville Date: 2007-03-13T20:08:07+09:00 Subject: BigDecimal bug? Hello, Can anyone tell me if this is a bug? It certainly seems like it to me. >> BigDecimal.new("-.31").to_s => "0.31" $ ruby -v ruby 1.8.5 (2006-12-04 patchlevel 2) [x86_64-linux] I have tried altering the BigDecimal initialisation code, without success. Does anyone have any clues as to how to workaround this issue without pre-processing the "-.31" string? I'd think I could alter the "new" call to alter the malformed string a little. Thanks a lot in advance, Mark