https://github.com/tayron/funcao-sprintf-javascript
Função Sprintf em Javascript semelhante a função Sprintf do PHP
https://github.com/tayron/funcao-sprintf-javascript
Last synced: 3 months ago
JSON representation
Função Sprintf em Javascript semelhante a função Sprintf do PHP
- Host: GitHub
- URL: https://github.com/tayron/funcao-sprintf-javascript
- Owner: tayron
- Created: 2019-02-05T13:52:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T19:00:33.000Z (over 2 years ago)
- Last Synced: 2025-01-20T23:34:15.436Z (4 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Function Sprintf for Javascript
Sprintf function similar the function sprintf of PHP
```
console.log(sprintf('Latitude: %s, Longitude: %s, Count: %d', 41.847, -87.661, 'two'));
```Output: **Latitude: 41.847, Longitude: -87.661, Count: 0**