clear
CREATE CURSOR t1(f1 n(6,2),f2 i)
INSERT INTO t1 VALUES (11.123456,11)
INSERT INTO t1 VALUES (22,22)
INSERT INTO t1 VALUES (33,33)
INSERT INTO t1 VALUES (44,44)
INSERT INTO t1 VALUES (55,55)
INSERT INTO t1 VALUES (1234567.12,12)
BROWSE
*!* 999999.99与N(6,2)对应相同
SELECT *,AT("*",TRANSFORM(f1,"999999.99")) as f3 FROM t1
[此贴子已经被作者于2022-8-12 16:41编辑过]