Skip to content

📝 A universal, intercultural and user-friendly way to display numbers

License

Notifications You must be signed in to change notification settings

BinaryBrain/Batonnet.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bâtonnet.js

Bâtonnet.js (or Batonnet.js, pronounced /ba.tɔ.nɛ/) is a universal, intercultural and user-friendly way to display numbers. It provides a lightweight, easy to use library that can convert any positive integers into a more readable form, even across different regional, political and/or religional culture.

You can see the power and the flexibility of Bâtonnet.js in live action by following this link.

Usage

Download batonnet.min.js and batonnet.min.css and include them in your web page:

<link rel="stylesheet" type="text/css" href="batonnet.min.css">
<script src="batonnet.min.js"></script>

Then, surround numbers you want to convert with a tag containing the class batonnet as such:

<p>I've already caught <span class="batonnet">13</span> fishes!</p>

And finally call the Batonnet() function in javascript once the element is loaded:

Batonnet();

About

📝 A universal, intercultural and user-friendly way to display numbers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published