Thread: Need help with moneyvault

Results 1 to 3 of 3
  1. #1 Need help with moneyvault 
    Registered Member
    Join Date
    Aug 2014
    Posts
    9
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    I need some help with my moneyvault system; I would like it to say a shortened version of the amount it holds like instead of 1,000,000,000 I would like it t say 1b, how would i go about this? I can share code if needed.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Oct 2010
    Posts
    22
    Thanks given
    3
    Thanks received
    0
    Rep Power
    1
    I can't give you exact code but it would be along the lines of

    if amount >= 1000000000
    then display (amount / 1000000000) + "B"

    elseif amount >= 1000000
    then display (amount /1000000) + "M"

    elseif amount <1000000
    Display amount

    sorry im not much more help
    Reply With Quote  
     

  3. #3  
    WHAT DO I PUT HERE!?

    Join Date
    Apr 2015
    Posts
    293
    Thanks given
    3
    Thanks received
    47
    Discord
    View profile
    Rep Power
    19
    Quote Originally Posted by Mr_Turtler View Post
    I need some help with my moneyvault system; I would like it to say a shortened version of the amount it holds like instead of 1,000,000,000 I would like it t say 1b, how would i go about this? I can share code if needed.
    In where your shop prices are handled will be a snippet like the guy above me posted should help
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. I need help with pen tool
    By Joe in forum General
    Replies: 6
    Last Post: 01-19-2008, 07:05 PM
  2. Need help with turning something back
    By ftmaster in forum RS2 Server
    Replies: 0
    Last Post: 12-20-2007, 03:11 PM
  3. Need help with DomScape
    By thegreatblob in forum Requests
    Replies: 4
    Last Post: 11-30-2007, 04:25 AM
  4. need help with making a client with new stuff
    By yahoo112 in forum RS2 Client
    Replies: 1
    Last Post: 09-19-2007, 08:06 PM
Tags for this Thread

View Tag Cloud

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