convertStringToLocale static method

String convertStringToLocale(
  1. String text,
  2. String locale
)

Converts a string containing digits to the specified locale يحول نصاً يحتوي على أرقام إلى اللغة المحددة

Implementation

static String convertStringToLocale(String text, String locale) {
  return text.convertNumbers(locale);
}