[HELP]transfer money perfectly

help
money
vrp

#1

I use Vrp

how can I transform money perfectly?
if I have 1.000.000 show me 1M or if i have 1.200.000 show me 1.2M or if i have 1.432.435 show me 1.4M?


#2

By performing a rounding operation.

Method depends on your language. Google math round Lua


#3

Everything I found does not work in my case, I do not have decimals, it does not work, do you think you can help me more explicitly? @d0p3t


#4

Hi,

Show your script, to see how you try to do that :wink:


#5

I can t, but u don t need mine to help me


#7

As you said here:

If we can’t see what you tried how can we help you?


#8

:two_men_holding_hands:

http://lua-users.org/wiki/SimpleRound


#9

Why was I tagged?


#10

My mistake. The damn copying of a link in Google assistant doesn’t work.


#11

LOL no worries lol


#12

thanks <3