How to get last digit of a number in words (javascript)
function main(englishName) {
var data = {
'1': 'one',
'2': 'two',
'3': 'three',
'4': 'four',
'5': 'five',
'6': 'six',
'7': 'seven',
'8': 'eight',
'9': 'nine'
}
var number = englishName;
var lastNum = number.toString().split('').pop()
console.log(data[lastNum])
}
Also in C++:
- database metasploit kali linux
- como agreagar archivo a .gitignore y eliminarlo del repositorio
- how to remove file from directory in linux
- ubuntu unzip 7z 001
- elifecycle npm install error
- aws cli create ecr repository if not exists
- generate py file from ui
- install teamviewer ubuntu 18
- how to go to end of line in shell script
- apt-get install language-pack-utf-8
- react hook install
- Illuminate\Http\Exceptions\PostTooLargeException Ubuntu
- laravel: command not found
- source tree not installed
- create virtual environment code
- pycharm ubuntu 20.04
- ADB exited with exit code 1 Performing Streamed Install
- tail remove newline
- TypeError: 'InputExample' object does not support indexing
- git commit and add in one command
- bash how to check free disk space in Linux
- ubuntu sites available location?
- crear usuario linux comandos
- git clone single branch