型号
公司
报价
快速采购
当前位置:首页 > 轴承知识 > Delphi中 这句 condition:= 'where 圆锥滚子轴承>='+ chr(39)+f...

Delphi中 这句 condition:= 'where 圆锥滚子轴承>='+ chr(39)+f...

2025/4/26 4:35:08 次浏览

floattostr(Fr1)是把实型量转换为字符串的函数;而chr(39)就是一个英文单引号。如果Fr1=3.14的话,
那么执行以下二个语句condition:= 'where 圆锥滚子轴承>='+ chr(39)+floattostr(Fr1)+chr(39);
writeln(condition);
的话,就会输出:
where 圆锥滚子轴承>=3.14
购物车 意见反馈