Git Product home page Git Product logo

t00l0l's Introduction

T00l0l

The following is a function that converts numbers to Mongolian words. The allowed range of input numbers are from 0 to 9007199254740991 or 10^15. The function takes in one parameter, the number to convert. The Mongolian words for all numbers in the range are stored in a number of constant arrays within the function: "ones", "onesAlt", "onesAltH", "tens", and "tenth". To use these constants, the input number is split into 16 digits and each group of digits is then converted to Mongolian words by concatenating the words from the appropriate constant array. The converted words are then concatenated with the appropriate separators (e.g., "тунамал", "зуун") and returned; all multiple spaces are replaced with a single space and the string is trimmed before being returned. If the input number is zero, the function returns "тэг". If the input number is greater than Number.MAX_SAFE_INTEGER, the function returns a warning message.

For example: Тунамал хөрвүүлэгч

Keywords: Эерэг бүхэл 16 оронтой тоог Монгол үг болгон хөрвүүлж хувиргана.👹

image

GOOGLE SHEETS ДЭЭР ТООГ ҮГ РҮҮ ХӨРВҮҮЛЭГЧИЙГ АШИГЛАХ НЬ:

Google Sheets App Script ашиглан T00l0l функц оруулах заавар нь дараах байдлаар байна:

  1. Google Sheets-д шинэ эсвэл одоо байгаа spreadsheet-г нээнэ.
  2. Extensions > Apps Script гэсэн цэсийг сонгоно.
  3. Script editor доторх кодыг устгана.
  4. T00l0l функцээ script editor дотор бичнэ.
  5. Дээр талд Save товчлуурыг дарна.

Функцыг хадгалсны дараа та үүнийг Google Sheet доторх бусад функцүүд шиг ашиглаж болно.

Animation

UPDATE: Текстэн тоог буцаагаад тоо болгодог боллоо😊 || The mn2nm of read_tunamal.js can convert text to number.

UPDATE: Тоог дуу хоолой болгон дуудаж хэлдэг боллоо. || The Mongolian number to speech is now available. @230728

Хэрэв та энэ онцлогийг өөрийн шийдэлдээ дурын байдлаар хөгжүүлүүлэн шигтгэхийг хүсч байвал над руу бичээрэй.

If you want develop this feature to your digital solution, i will be in here

Made with 💝 in UB @2023

t00l0l's People

Contributors

batz-gg avatar nxic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

t00l0l's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.