getPriceNew function
Implementation
String getPriceNew(String text) {
if (text.isNotEmpty) {
/* try {
var formatter = NumberFormat('#,##,###');
return "₹ ${formatter.format(double.parse(text))}";
} catch (e) {
return "₹ $text";
}*/
return "$text";
} else {
return "$text";
}
}