http://www.cnblogs.com/mumble/archive/2011/05/25/2056462.html
ShowMessage( Format('this is %.0f',[ toFloat('1.1234') ]) ) ; ShowMessage( Extract('1', 0, '.') );
tofloat, Extract是自定义函数。
StrToInt('1.00')是不行的,虽然1.00其实等于1