rialToTomanFun function

String rialToTomanFun(
  1. String rial
)

Implementation

String rialToTomanFun(String rial) {
  int rialInt = int.parse(rial);
  int tomanInt = rialInt ~/ 10;
  return tomanInt.toString();
}