PC Review


Reply
Thread Tools Rate Thread

convert currency to string

 
 
shank
Guest
Posts: n/a
 
      2nd Jun 2010
AMOUNT: CStr([Amazon POs]![Cost]*[Amazon POs]![QtyConfirmed])

How do I convert $45.50 to "45.50" ...?
No matter what I do I keep dropping the zero to "45.5"

thanks!


 
Reply With Quote
 
 
 
 
Wolfgang Kais
Guest
Posts: n/a
 
      2nd Jun 2010
Hello.

"shank"
> AMOUNT: CStr([Amazon POs]![Cost]*[Amazon POs]![QtyConfirmed])
>
> How do I convert $45.50 to "45.50" ...?
> No matter what I do I keep dropping the zero to "45.5"


AMOUNT: Format([Amazon POs]![Cost]*[Amazon POs]![QtyConfirmed],"0.00")

--
Regards,
Wolfgang


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Currency to String but keep commas Don Microsoft Access Queries 2 2nd Apr 2010 10:43 PM
Convert currency formated string back into decimal =?Utf-8?B?R3JlZyBH?= Microsoft ASP .NET 1 3rd Nov 2007 04:48 PM
Convert Currency-formatted string back to decimal Ritu.Chandra.JBS@gmail.com Microsoft ASP .NET 2 4th May 2006 02:14 PM
Convert a currency string to a double R. John Reed Microsoft C# .NET 0 13th Apr 2005 04:36 PM
Best way to convert back a currency string into a number(int or long)? Juan Microsoft Dot NET 2 25th Oct 2004 12:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:42 AM.