Returns a FLOAT DEC value with precision.
FLOATDEC(x[,p])
Source code | Result |
---|---|
FIXED BIN(p,q) | FLOAT DEC(r)
where r = CEIL(p/3.32) |
FIXED DEC(p,q) | FLOAT DEC(p) |
FLOAT BIN(p) | FLOAT DEC(r)
where r = CEIL(p/3.32) |
FLOAT DEC(p) | FLOAT DEC(p) |
BIT | FLOAT DEC(r)
where r = CEIL(M/3.32) |
CHAR, GRAPHIC or WIDECHAR | FLOAT DEC(N) |