// ToUint32Checked attempts to cast the Float32 to a Uint32.
// The second return value will be false if there was an overflow or any other loss of precision.
// For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
// The result will be truncated. 123.567 => 123
ToUint32Checked attempts to cast the Float32 to a Uint32.
The second return value will be false if there was an overflow or any other loss of precision.
For example, going from Float64 to Int64 will result in anything after the decimal being truncated.
The result will be truncated.
// ToUint32Checked attempts to cast the Float32 to a Uint32 . // The second return value will be false if there was an overflow or any other loss of precision . // For example going from Float64 to Int64 will result in anything after the decimal being truncated . // The result will be truncated . 123 . 567 = > 123
func (t Float32) ToUint32Checked() (Uint32, Boolean) {
	var converted Uint32
	converted = Uint32(t)
	v, err := converted.ToFloat32().Eq(t)
	return converted, Boolean(err == nil && v)
}
func ( t Float32 ) ToUint32Checked ( ) ( Uint32 , Boolean ) { var converted Uint32 converted = Uint32 ( t ) v , err := converted . ToFloat32 ( ) . Eq ( t ) return converted , Boolean ( err == nil && v ) }
ToUint32Checked attempts to cast the Float32 to a Uint32.
ToUint32Checked attempts to cast the Float32 to a Uint32 .