Skip to content

Bangla mathematics, Bangla Unicode mathematics like as normal calculation.

Notifications You must be signed in to change notification settings

Akhtaruzzaman/Banglamathematics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bangla Mathematics

Bangla unicode calculation, like as normal calculation. if you want ot calculate 5+4 in bangla, then you call only a function which is bdmath and passes the parameter. (parameter must be as string) Example: var result=bdmath('৫+৪');

Example

include js library file:


<script src="unicodemath.js" type="text/javascript"></script> 

Js code:


function call() {
        var a = document.getElementById("txt1").value;
        var b = document.getElementById("txt2").value;
        c = bdmath('(((' + a + ')/100)*' + b + ')+' + a);
        d = bdmath('(((' + a + ')/100)*' + b + ')+' + a,'২');
        document.getElementById("lbl1").innerHTML = 'Total+Vat= '+c;
        document.getElementById("lbl2").innerHTML = 'Total+Vat= '+d;
    }  

Js fiddle

About

Bangla mathematics, Bangla Unicode mathematics like as normal calculation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages