k, answering own question after some googling and guessing.... *gawd* I
remember why I spent the last 10-15 years of my engineering career
disliking Python
#set $y = "{:.2f}".format($x)
and using $y instead of $x in all those bold places in my previous post.
in what sane language would "formatstring".format(value) make sense ?
sure, I could see value.format("formatstring"), but really, what is wrong
with format(value, "format") ??
oh never mind, just chalk this up to another crotchety old greybeard who
started on FORTRAN and Assembler in the 1970s and managed to stay gainfully
employed cranking out low level systems code for 45 years.
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/ba1b1b4d-59a3-49fa-8b11-1156ac35120cn%40googlegroups.com.