D
Dobie
I need to know if there's a Math.object that will
make a # such as 123.4567 and round it to the
nearest 1/100. To make the # be 123.46. I have
seen Math.floor, Math.round, Math.random and
other objects. But none will do what I need.
Help ???
The only reason I need to do this is because I have
a list of products with their prices. And when you
enter the quantity amount, that # gets multiplied
by the price. And on some of the prices, a long
integer gets returned. And it would be nice to have
a price of $123.46 instead of $123.4567.
TIA,
Dobie
make a # such as 123.4567 and round it to the
nearest 1/100. To make the # be 123.46. I have
seen Math.floor, Math.round, Math.random and
other objects. But none will do what I need.
Help ???
The only reason I need to do this is because I have
a list of products with their prices. And when you
enter the quantity amount, that # gets multiplied
by the price. And on some of the prices, a long
integer gets returned. And it would be nice to have
a price of $123.46 instead of $123.4567.
TIA,
Dobie