VFP 6.0 中的 Transform 函数的用法


VFP 6.0 中的 Transform 函数的用法:
从任意数据类型得到格式化的串.
tran(777.37) && 其值为 "777.37"
tran(0004.00) && 其值为 "4"
tran({01/01/1998}) && 其值为 "01/01/1998"
tran(12.34, '$$$$.99') && 其值为 "$12.34"
tran(" test ","@T!") && 其值为 "TEST" 而不是用upper(alltrim(" test "))
tran(.t.) && 其值为 ".t." </P><P>


原作者: RMH

 

 

 

 

 

 

©济容电脑技术咨询公司  版权所有2002-2003