سؤال

I have these number fields:

-289444.34000000000   -----> I need this  -289444.34
172231.00000000       -----> I need this   172231.00

I am new to CR. I tried this format style "-1123.00" and this: (1123.00) but that is now what I need. I think I need a formula.

Thanks in advance.

هل كانت مفيدة؟

المحلول

You can do the rounding portion via formula, but you cannot control how the number actually displays via formula without converting it to a string (by using the totext() function and passing in a format string).

It's better to just choose a format style for your numeric field so you can continue to do summaries on it, etc. If you choose a format style and it displays "#########" then that means that your field is not big enough to display the number (CR does this to prevent unintentional clipping). You just need to increase the size of your fields.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top