Skip to content
Prev 56530 / 63421 Next

prettyNum digits=0 not compatible with scientific notation

Yes (3.5.1 though)
d=10         d=7          d=2      d=1     d=0     
 [1,] "123456"     "123456"     "123456" "1e+05" "1.e+05"
 [2,] "12345.6"    "12345.6"    "12346"  "12346" "1.e+04"
 [3,] "1234.56"    "1234.56"    "1235"   "1235"  "1235"  
 [4,] "123.456"    "123.456"    "123"    "123"   "123"   
 [5,] "12.3456"    "12.3456"    "12"     "12"    "12"    
 [6,] "1.23456"    "1.23456"    "1.2"    "1"     "1"     
 [7,] "0.123456"   "0.123456"   "0.12"   "0.1"   "0"     
 [8,] "0.0123456"  "0.0123456"  "0.012"  "0.01"  "0"     
 [9,] "0.00123456" "0.00123456" "0.0012" "0.001" "0"