convert integer to decimal

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

MusicManSK

Active Member
Nov 30, 2017
230
11
18
Im really need help!!!
how to make from number "5", number "5.0"????
plzzz help meee!
5 to 5.0
integer to decimal
int to float
HELP MEEEE :emoji_frowning:
 
I don’t believe there’s a direct way
code_language.skript:
if “%{_num}%” does not contain “.”:
    set {_num} to “%{_num}%.0” parsed as a number
 
i know .. but yesterday at night i really needed it and throught night in my the bed i think about it and i find out that "if"% {_ num}% "does not contain". ": ........" should works. And why i did that? bcs nobody reply to me ... and i needed that faster .. sorry
 
i know.. but yesterday at night i really needed it and throught night in bed i thinking and i find out this "if “%{_num}%” does not contain “.”:........" and why i did that? bcs nobody reply to me...and im need it faster.. sorry
Just be patient next time^-^ lol
 
Status
Not open for further replies.