Lines 54–55 set amountDisplayTextView
’s text to the initial billAmount
(0.00
) in a locale-specific currency format by calling the currencyFormat
object’s format method. Next, lines 56–57 call methods updateStandard
(Fig. 3.13) and updateCustom
(Fig. 3.14) to display initial values in the tip and total TextView
s.