Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Numbers

Status
Not open for further replies.

NoKeS

Programmer
Sep 27, 2001
21
PT
How do I do to turn this:

A dívida do Cliente é: 18450 $ESC
A dívida do Cliente é: 83.86363636363 $USD
A dívida do Cliente é: 603.67110558518 $FFR

Into:

A dívida do Cliente é: 18450 $ESC
A dívida do Cliente é: 83.86 $USD
A dívida do Cliente é: 603.67 $FFR
 
Hi not sure if this is what you mean but there is a function in Transact SQL called ROUND
ROUND(variable, number to round to)
e.g ROUND(83.86363636363, 2)
will give you 83.63;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top