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

Legal Issues for SAP ERP o ERP in general
Hi experts,

Can someone please help me finding some documentation about legal issues tha

fopen() security
As i understood the usage of fopen() for it to function correctly the Dir you write to has to be rw

Php WordPress help
I am writing the following code for making a plugin

<?php
header("Content-Type

Conditions of info record - Error
When i created GR (901) and PO create automatic my PBXX is obtain the net price of info record but

get multiple rows
Hi I want to get multiple rows from a db

I am using this for the db query
Code: public

Get to know your fellow coder
I think it's time we got personal around here. There's a lot of code swapping and a few members kno

Nested (echoed) php running wrong script
Got a problem with a php website I'm creating.

In a nutshell, the first page is entirely html

Insert data in Mysql and move to another page
I'm stuck with this simple problem. I need to insert data in Mysql and then hit submit and move to a

Deleting pointers froms vector?
Hi. I have a vector filled with pointers and I want to delete the pointers. I could do a loop and do

Insert numbers from Barcode scanner into online php page
I have a real big problem, Here is what I'm trying to do. I have a Intermec CN3 handheld computer th

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