Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 12-01-2007, 05:53 AM Money Sorting Code
evans123's Avatar
Ultra Talker

Posts: 468
Trades: 0
Does anybody have function that will sort money like this:

1 = 1
100 = 100
1000 = 1k
10000 = 10K
100000 = 100k
1000000 = 1m

bearing in mind these numbers will be like 359578 because there dynamic?
evans123 is offline
Reply With Quote
View Public Profile Visit evans123's homepage!
 
 
Register now for full access!
Old 12-01-2007, 06:29 AM Re: Money Sorting Code
Foundationflash's Avatar
Ultra Talker

Posts: 410
Name: Harry Burt
Location: Colchester, Essex, England
Trades: 0
So you want 359578 to end up as 360k?
__________________
Foundation Flash tutorials :
Please login or register to view this content. Registration is FREE


New Dreamed Up Web Design:
Please login or register to view this content. Registration is FREE
Foundationflash is offline
Reply With Quote
View Public Profile Visit Foundationflash's homepage!
 
Old 12-01-2007, 06:53 AM Re: Money Sorting Code
evans123's Avatar
Ultra Talker

Posts: 468
Trades: 0
kind of more like 359.6k round it to one decimal place!

Last edited by evans123; 12-01-2007 at 06:55 AM..
evans123 is offline
Reply With Quote
View Public Profile Visit evans123's homepage!
 
Reply     « Reply to Money Sorting Code
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11096 seconds with 12 queries