Jul 24, 2002 #1 woohoo Programmer Joined Jun 5, 2002 Messages 11 Location US 've got a field object that is a formula, which works great and all. the end result is a real number and i want to just truncate it into an int. how does one do this? thanks
've got a field object that is a formula, which works great and all. the end result is a real number and i want to just truncate it into an int. how does one do this? thanks
Jul 24, 2002 #2 Ngolem Programmer Joined Aug 23, 2001 Messages 2,724 Location CA truncate({table.number},0) Jim Broadbent Upvote 0 Downvote
Jul 24, 2002 #3 Naith Programmer Joined May 14, 2002 Messages 2,530 Location GB Like the man said. Or right click on the field, Number tab, Customize buttom, set Decimals to 1. Naith Upvote 0 Downvote
Like the man said. Or right click on the field, Number tab, Customize buttom, set Decimals to 1. Naith
Jul 24, 2002 #4 Naith Programmer Joined May 14, 2002 Messages 2,530 Location GB D'oh. I just remembered that you can't set get rid of your decimals without implicitly rounding up the integer. Do what Ngolem said. Sorry about the misadvice. Naith Upvote 0 Downvote
D'oh. I just remembered that you can't set get rid of your decimals without implicitly rounding up the integer. Do what Ngolem said. Sorry about the misadvice. Naith
Jul 24, 2002 Thread starter #5 woohoo Programmer Joined Jun 5, 2002 Messages 11 Location US thanks for the help; to extend on that a bit, how does one set it so that the trailing zero's aren't shown? Upvote 0 Downvote
thanks for the help; to extend on that a bit, how does one set it so that the trailing zero's aren't shown?
Jul 24, 2002 Thread starter #6 woohoo Programmer Joined Jun 5, 2002 Messages 11 Location US bags! i look away for a second and the advice i need is already there thanks ya'll Upvote 0 Downvote