Spec Results

Designed for use with JUnit and Ant.

Class spec.ruby.library.bigdecimal.truncate

NameTestsErrorsFailuresSkippedSkip %Time(s)
truncate70000%0.021

Tests

NameStatusTypeTime(s)
BigDecimal#truncate returns value of type Integer.Success0.002
BigDecimal#truncate returns the integer part as a BigDecimal if no precision givenSuccess0.003
BigDecimal#truncate returns value of given precision otherwiseSuccess0.003
BigDecimal#truncate sets n digits left of the decimal point to 0, if given n < 0Success0.001
BigDecimal#truncate returns NaN if self is NaNSuccess0.001
BigDecimal#truncate returns Infinity if self is infiniteSuccess0.001
BigDecimal#truncate returns the same value if self is special valueSuccess0.002
Properties »