public static Rmb Of(int fen) { Rmb rmb = new Rmb(); rmb.SetLeastUnitValue(fen); return(rmb); }
public static Rmb of(int yuan, int jiao, int fen) { Rmb rmb = new Rmb(); rmb.Yuan = yuan; rmb.Jiao = jiao; rmb.Fen = fen; return(rmb); }
public static Currency FromLeastValue(int value, string code) { Currency currency = null; if (code == "CNY") { currency = new Rmb(); } currency.SetLeastUnitValue(value); return(currency); }