// AttoFilToFil transforms an attoFIL integer value, to a
// pretty FIL string.
AttoFilToFil transforms an attoFIL integer value, to a
pretty FIL string.
// AttoFilToFil transforms an attoFIL integer value to a // pretty FIL string .
func AttoFilToFil(attoFil uint64) string {
	r := new(big.Rat).SetFrac(big.NewInt(int64(attoFil)), big.NewInt(int64(build.FilecoinPrecision)))
	if r.Sign() == 0 {
		return "0"
	}
	return strings.TrimRight(strings.TrimRight(r.FloatString(18), "0"), ".")
}
func AttoFilToFil ( attoFil uint64 ) string { r := new ( big . Rat ) . SetFrac ( big . NewInt ( int64 ( attoFil ) ) , big . NewInt ( int64 ( build . FilecoinPrecision ) ) ) if r . Sign ( ) == 0 { return " " } return strings . TrimRight ( strings . TrimRight ( r . FloatString ( 18 ) , " " ) , " " ) }
AttoFilToFil transforms an attoFIL integer value, to a
pretty FIL string.
AttoFilToFil transforms an attoFIL integer value to a pretty FIL string .