input type that allows float number
<input type="number" step="0.01">
input type that allows float number
<input type="number" step="0.01">
unitt only 1 number float
using UnityEngine.UI;
public Text textDivision;
public float division = 1.0/3; // this is equal to 0.33333333333333333333333333...
textDivision.text = division.ToString("F1"); //shows only 0.3
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us