parse-24hr-temp ( str -- str' )


Vocabulary
metar.private

Inputs
stran object


Outputs
str'an object


Definition


: parse-24hr-temp ( str -- str' )
"4" ?head drop double-value
[ dup C>F "%.1f °C (%.1f °F)" sprintf ] bi@
"24-hour maximum temperature %s minimum temperature %s"
sprintf ;