mirror of
https://github.com/danog/math.git
synced 2024-11-30 04:19:31 +01:00
Add tests for BigDecimal::of() with leading zeros in exponent
This commit is contained in:
parent
65d4dd75d6
commit
41c34b1014
@ -126,6 +126,8 @@ class BigDecimalTest extends AbstractTestCase
|
||||
['0.1e+0', '1', 1],
|
||||
['0.1e+1','1', 0],
|
||||
['0.1e+2','10', 0],
|
||||
['1.23e+011', '123000000000', 0],
|
||||
['1.23e-011', '123', 13],
|
||||
|
||||
['0.01e-2', '1', 4],
|
||||
['0.01e-1', '1', 3],
|
||||
|
Loading…
Reference in New Issue
Block a user