You are browsing as a guest. Sign up (or log in) to start making projects!

1h 40m 33s logged

I worked on stripe2.html where the currency conversion feature is located. I used two parallel arrays (I don’t know how to do HashMaps yet), one contains the currency name and the other contains the exchange rate. Right now I am working out how to ensure currencies that are supposed to have trailing zeroes will have them (e.g. $2.00 and not $2) and those that don’t do not. I’m considering to apply x.indexOf(“.”) == -1 to do this.

0
13

Comments 0

No comments yet. Be the first!