Guest User

Untitled

a guest
Jun 19th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. Var theTip
  2. dinnerCost = parseFloat (dinnerCost)
  3. theTip = dinnerCost* .15
  4. theTip = parselnt (theTip* 100)/100
  5. dinnerCost += theTip
  6. document.forn1.txtTip.value = theTip
  7. document.forn1.txtTotal.value = dinnerCost
Add Comment
Please, Sign In to add comment