Hi,
I have a field which is typically contains a number
xyz.abcd
Running my crystal report, if "d" was 5 or higher, the number was rounded up. If "d" was 4 or lower, "d" takes on the value of zero. This seems to be a problem with how big the number is. The field itself has "single" as a data type. If I create a value of yz.abcd or xyz.abc, the field shows up as is. The above behavior only shows up when I have three digits to the left of the decimal and four digits to the right. Could anyone tell me what's going on and how I can fix it? I tried the totext(field,4,"") formula but it did not get rid of the above behavior. CStr(field) only gave me a number with 2 decimal places.
TIA!
I have a field which is typically contains a number
xyz.abcd
Running my crystal report, if "d" was 5 or higher, the number was rounded up. If "d" was 4 or lower, "d" takes on the value of zero. This seems to be a problem with how big the number is. The field itself has "single" as a data type. If I create a value of yz.abcd or xyz.abc, the field shows up as is. The above behavior only shows up when I have three digits to the left of the decimal and four digits to the right. Could anyone tell me what's going on and how I can fix it? I tried the totext(field,4,"") formula but it did not get rid of the above behavior. CStr(field) only gave me a number with 2 decimal places.
TIA!