hello I am making my logbook report
there was no model in french so I created one by taking inspiration from the different existing models
I could of course make it available on the forum if someone is interested
I'm not very good at computers
I'm stuck on a problem
my logbook report shows me the water temperature by rounding the result
I would like to keep a decimal after the comma
here is the line of code I am using (it allows me to display the water temperature or to display me "-" if it is not available) :
if (isnull (LogWatertemp) or LogWatertemp = 0, "-", Str $ (LogWatertemp, 0,0) + "" + UnitTemperature)
how to have the temperature with decimal?
thank you
as attached an
logbook report need help to finish
Re: logbook report need help to finish
thank you for your answer but with the value is always rounded to the unit
I would like to display the temperature with a decimal point
I would like that when the value is not informed the report does not express "0" but "-" it is for that that I had to use
tib
Code: Select all
Fstr $ (LogWatertemp," - # & ") +" "+ UnitTemperature
I would like to display the temperature with a decimal point
I would like that when the value is not informed the report does not express "0" but "-" it is for that that I had to use
Code: Select all
isnull (LogWatertemp) or LogWatertemp = 0," - "
tib
Re: logbook report need help to finish
OK, try this format:
Code: Select all
str$(LogWatertemp,"###&.#")
Re: logbook report need help to finish
thks I fix the probleme