Arc Forumnew | comments | leaders | submitlogin
Decimal numbers vs. rational numbers
1 point by thaddeus 5878 days ago | 2 comments
How do most output decimal format numbers vs. rational ?

I am assuming most use 'to-nearest' which looks to me as though it was dropped in an earlier version, but I was just wondering...

Thanks, T.

[EDIT] - oops my bad to-nearest was not dropped - just renamed to: 'nearest'.



1 point by rntz 5878 days ago | link

I'm honestly not sure what you're asking here. How do most what output decimal format numbers vs. rational? And what do you mean by "decimal format numbers" - do you mean floating-point numbers?

Are you asking how to format numbers in a string? If so, take a look at 'num.

-----

2 points by thaddeus 5877 days ago | link

I shouldn't make posts when I'm that tired :) I did mean to say : format numbers as a decimal rather than the fractional.

Num does the trick. I was looking for it at arcfn under "math" and "type", don't know why I didn't think of "strings".

Thanks! T.

-----