Jan 11, 2006 #1 karnd Programmer Feb 1, 2003 190 US Hi , For an amount field i should not have to ROUND it at all but need to truncate the decimal after the digit. Eg:1000.20 should have to show as 1000 1000.75 should have to show as 1000 Thanks a lot,
Hi , For an amount field i should not have to ROUND it at all but need to truncate the decimal after the digit. Eg:1000.20 should have to show as 1000 1000.75 should have to show as 1000 Thanks a lot,
Jan 11, 2006 #2 bdreed35 Programmer Mar 2, 2003 1,549 US Create a formula and pass the field to the truncate function: Truncate({table.field}) ~Brian Upvote 0 Downvote
Jan 11, 2006 Thread starter #3 karnd Programmer Feb 1, 2003 190 US Hi, But it does not truncate the digits after the decimals. I tried truncate(field,0) truncate(field,-1) truncate(field,1) and etc.. thanks Upvote 0 Downvote
Hi, But it does not truncate the digits after the decimals. I tried truncate(field,0) truncate(field,-1) truncate(field,1) and etc.. thanks
Jan 11, 2006 #4 lbass Technical User Feb 9, 2002 32,818 US If after using the following on a field = 1000.75: truncate({table.field}) ...you are seeing 1000.00, all you need to do is select the field and click on the decrease-decimals icon to remove the decimals in the display. -LB Upvote 0 Downvote
If after using the following on a field = 1000.75: truncate({table.field}) ...you are seeing 1000.00, all you need to do is select the field and click on the decrease-decimals icon to remove the decimals in the display. -LB
Jan 12, 2006 Thread starter #5 karnd Programmer Feb 1, 2003 190 US Hi, Great!this helps but is it a new feature available from CRXI or before also? Thanks regards, Upvote 0 Downvote
Jan 12, 2006 #6 lbass Technical User Feb 9, 2002 32,818 US Truncate() has been available since 8.0 and possibly earlier. -LB Upvote 0 Downvote
Jan 12, 2006 Thread starter #7 karnd Programmer Feb 1, 2003 190 US thanks a lot for your kind info. regards, Upvote 0 Downvote