You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Convert a number to an integer of the type u32, which may be the required type for certain node inputs. This will be removed in the future when automatic type conversion is implemented.
let value = U::clamp(value,U::from(0.).unwrap(),U::from(u32::MAXasf64).unwrap());
353
-
value.to_u32().unwrap()
354
-
}
355
-
356
-
/// Convert a number to an integer of the type u64, which may be the required type for certain node inputs. This will be removed in the future when automatic type conversion is implemented.
let value = U::clamp(value,U::from(0.).unwrap(),U::from(u64::MAXasf64).unwrap());
360
-
value.to_u64().unwrap()
361
-
}
362
-
363
-
/// Convert an integer to a decimal number of the type f64, which may be the required type for certain node inputs. This will be removed in the future when automatic type conversion is implemented.
0 commit comments