string to currency format


Posted on 16th Feb 2014 07:03 pm by admin

Hi guys...

Actually I chunk out some data from txtfile and one of the data contains amount value but in string format like so..

"000000010000" -->desire result 100.00
"000000002000" -->desire result 20.00
"000000100050" -->desire result 1000.50

so how's the hell I can format the string so the end result will be
100.00
20.00
1000.50

any help are appreciated.

No comments posted yet

Your Answer:

Login to answer
146 Like 44 Dislike
Previous forums Next forums
Other forums

'grab_files', multiple extension?
hey guys,

can anyone suggest a way to make to following line of code look for files with more

How to Handle more than one submit button in single form?
Hi
I have one PHP file which contains one Form. In this form there are two Submit type Buttons

Not capturing all the information we require in the form.......
Hi Guys,

I was wondering if you would share some more of your knowledge today, I'm hoping it

Problem executing bash script using shell_exec
Hi there,
I created a bash script file using following code to convert doc documents to pdf using

Custom Container in module pool program
Hello everyone,

I have created a custom control in my module pool screen. Now I want to s

Linked Keywords
I am trying to get a script that makes my predefined keyword converted to links and / or converted t

Querying info from one table based on info in another
Hi, I am currently trying to make a part for my user driven website where one user can subscribe to

Menu restriction
How can I restrict the individual menu that would appear when a user logs in so that all users are c

PayPal Redirect Issue
When I have my paypal button set so that is redirects to http://empiremarketing.ca/order.php,it work

Working with Global Variables
hi, I'm not really sure why the following code is returning a "Call to a member function getBan

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash