package money

import "github.com/shopspring/decimal"

func Yuan2Fen(price float64) int64 {
	return decimal.NewFromFloat(price).Mul(decimal.New(1, 2)).IntPart()
}