double with precision



Hi,

I would like to save my double variable with a precision of 2 decimal
places.

For example the double x = 1.7358

I would like x = 1.73 or 1.74 (rounded)

How would I do that.

TIA

Roy


.