Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Var theTip
- dinnerCost = parseFloat (dinnerCost)
- theTip = dinnerCost* .15
- theTip = parselnt (theTip* 100)/100
- dinnerCost += theTip
- document.forn1.txtTip.value = theTip
- document.forn1.txtTotal.value = dinnerCost
Add Comment
Please, Sign In to add comment