delphi 怎么把浮点型转换成字符型
来源:百度知道 编辑:UC知道 时间:2024/06/14 19:48:14
用 FloatToStr 函数即可
注意,FloatToStr 函数有两种形态:
1. FloatToStr(Value: Extended): string;
2. FloatToStr(Value: Extended; const FormatSettings: TFormatSettings): string;
第二种可以定义输出格式。
FloatToStr function