Help

Formula error when dividing currency by integer of 2

Solved
Jump to Solution
2539 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Renee_Smith
4 - Data Explorer
4 - Data Explorer

Formula error in inventory (imported cvs) when computing unit price.
COST column is specified as currency ($) and QTY column is integer 2 numeric.

U/PRICE column contains formula as follows: COST/QTY
(Result should be $ but displays as integer 2

Record from db is COST OF $1.00 divided by QTY OF 10 = U/PRICE BLANK INSTEAD OF $.10

THANKS

1 Solution

Accepted Solutions
Katherine_Duh
10 - Mercury
10 - Mercury

If the result should be dollars in the column, but instead it’s an integer, you should change the format to currency.

This is a formula where the output is set to integers, so in the last row, it rounds .10 down to 0.
0b3a5cd32bc0a4e042531b66241a03bb1fb2c644.png

But if you set the format to “Currency”—
49688b6d87368d856d45e56285e38ec025aa8dc8.png

Then it’ll work:
6443c399379411b3654b7421574469ff1a9271be.png

Does this help?

See Solution in Thread

1 Reply 1
Katherine_Duh
10 - Mercury
10 - Mercury

If the result should be dollars in the column, but instead it’s an integer, you should change the format to currency.

This is a formula where the output is set to integers, so in the last row, it rounds .10 down to 0.
0b3a5cd32bc0a4e042531b66241a03bb1fb2c644.png

But if you set the format to “Currency”—
49688b6d87368d856d45e56285e38ec025aa8dc8.png

Then it’ll work:
6443c399379411b3654b7421574469ff1a9271be.png

Does this help?