The maxvalue seemed to be hardcoded in so only way i can think of, is setting the maxvalue as high as double can represent. That is roughly +/- 10^1023
I don't know double format encoding so simply double($FFFFFFFFFFFFFFFF) will only result in 0 and power(10,1023) will give error... so what worked is:
Code:
uses math
FloatSpinEdit1.MaxValue:=power(10,300);
edit: ^300 is still far from maximum. You can optimize it with multiplications or other things. Still its propably more than any normal use would need.
edit2: in theory double($7FFFFFFFFFFFFFFF) might be highest if i assume its positive without flag bit Problem is floattostr and format are only capable to show 3 exponents so its only showing 18, i guess it actually is at the max.
http://en.wikipedia.org/wiki/Double_...g-point_format
Bookmarks