Skip to content

hangsbreaker/inline-calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

inline-calc

Inline calculator textbox inspired from cell box on office spreadsheet

How to use


Include inline-calc.js on your page before end of body tag
<script src="path-to-inline-calc-js" type="text/javascript"></script>

Then just add class calc and data attribut for currency format data="N" or data="S"

<input type="text" class="calc" data="N"/>

To using round decimal add format data="N-2" for 2 decimal place

<input type="text" class="calc" data="N-2"/>

DEMO Here

About

Inline calculator textbox inspired from cell box on office spreadsheet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published