Hey! So I’m playing around with JavaScript and managed to make a number round system (this is javascript)
function RoundNumber(NumberToRound) {
if (typeof(NumberToRound) == "number") {
var Check = Math.round(NumberToRound)
if (Check == NumberToRound) {
console.error(NumberToRound, "Is already a integer!")
return false
}
else if (Check !== NumberToRound) {
return Check
}
}
else
console.error(typeof(NumberToRound), "Is not valid")
}
Now. I haven’t had any other uses of HTTPs service so this is all new to me. How would I go about calling this from studio and sending the number there, and it returns the rounded number back?