Skip to content

Update simpleCart.js#388

Open
laranz wants to merge 1 commit intowojodesign:masterfrom
laranz:patch-1
Open

Update simpleCart.js#388
laranz wants to merge 1 commit intowojodesign:masterfrom
laranz:patch-1

Conversation

@laranz
Copy link
Copy Markdown

@laranz laranz commented Jul 3, 2013

toFixed() will convert the tax rate to a whole number, for example if we give 0.06 and print

it will out as 0.

Instead we can can multiply it by 100 and add a % in that will help to understand the user easily. Just my 0.02$ to this great script :)

toFixed() will convert the tax rate to a whole number, for example if we give 0.06 and print <div class="simpleCart_taxRate"></div> it will out as 0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant