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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

displaying only millions value

Status
Not open for further replies.

FrequentUser

Technical User
Aug 24, 2006
17
US
I have several values (numeric) in the millions, that I rounded to the millions.

However I want to display only

$20 for $20,000,000
$14 for $14,000,000 etc.

It's probably an easy solution, but I need it quick.

Crystal Reports XI, MSSQL 2000, ODBC
 
I don't know of a way to do that with the format function on the field, you could do it in charts, but not on fields. I believe you would have to write a formula to transform the field into what you want.

Thanks so much!
satinsilhouette
 
divide by a million, and round or truncate the result, depending on the output you want.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top