Can’t figure out how to get the mi/km to be in front of the numbers, this one is set to 0.44 mi. I need it to read mi: 0.44. Thank in advance and as always I greatly appreciate it.
You won’t be able to use the mi: or km: because Facer will consider it part of the complication and it will break it. You could try a dash (-) or a comma (,). I know the dash will work, but the comma might mess things up.
Yes as @mrantisocialguy said, the “:” part of the math, so the only way would be to split the unit and the value in 2 separate elements.
I would align the unit to the right and the value to the left:
I am putting this #UNITSYS#=IMPERIAL?mi:km$ ((floor(((((#ZSC#*2.34)/52.8))/100)*100))/100):km ((round((#ZSC#*2.34)/32.8))/100)$ instead of $#UNITSYS#=IMPERIAL?mi ((floor(((((#ZSC#*2.34)/52.8))/100)*100))/100):km ((round((#ZSC#*2.34)/32.8))/100)$ and it’s not working am I not understanding something? This is I always ask for help.
It’s serial conditions anyway so you can just pop your colon between
$#UNITSYS#=IMPERIAL?Mi:Km$:$#UNITSYS#=IMPERIAL?((floor(((((#ZSC#*2.34)/52.8))/100)*100))/100):((round((#ZSC#*2.34)/32.8))/100)$
Man this sh*t is a pain, probably because this old brain doesn’t understand the coding. But anyway, this will work for both miles and km depending on the users preference?
I split the parts out from one statement into lines so each could be read as its own component. It’s the same thing as the single line expression but readable in each part. Helps build complex things out of smaller bits and then take away the carriage returns to go into Facer.
Or just build a library of things that work. Or both.
Of course, just to throw the spanner in the works. Here in the UK we measure distance in miles and temperature in Celsius! linking the info to imperial or metric will undoubtedly P1ss soneone off.
Saying that, you can only do what you can do, and you can’t please all of the people all of the time.
To add, here a formula to display the opposite of your temperature settings of your watch. So if you have set to Fahrenheit, it will show Celsius and the other way around. This way you can display both Celsius and Fahrenheit at the same time.
So you can apply this to mi/km or what ever has imperial/metric settings.
Temprature Celcius Wind speed MPH Please .
I buy Petrol by the Litre . Pump my tyers up to 33 PSI and drive a Good few Miles before checking them again . In the UK we went Metric in 1972 .
When I am estimatingca DIY job it is Imperial . In a Workshop I am using MM .