// ToTimestampChecked attempts to cast the Float32 to a Timestamp.
// 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
ToTimestampChecked attempts to cast the Float32 to a Timestamp.
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.
// ToTimestampChecked attempts to cast the Float32 to a Timestamp . // 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) ToTimestampChecked() (Timestamp, Boolean) {
	var converted Timestamp
	converted = Timestamp(t)
	v, err := converted.ToFloat32().Eq(t)
	return converted, Boolean(err == nil && v)
}
func ( t Float32 ) ToTimestampChecked ( ) ( Timestamp , Boolean ) { var converted Timestamp converted = Timestamp ( t ) v , err := converted . ToFloat32 ( ) . Eq ( t ) return converted , Boolean ( err == nil && v ) }
ToTimestampChecked attempts to cast the Float32 to a Timestamp.
ToTimestampChecked attempts to cast the Float32 to a Timestamp .