Conversion Incorrect **solved**

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
LAWx
Senior Boarder
Senior Boarder
Posts: 56
Joined: Sun Apr 14, 2013 2:46 am

Conversion Incorrect **solved**

Post by LAWx » Thu Feb 14, 2019 4:02 pm

Meteobridge conversion from mm to inches is incorrect. This can be tested during any rain event by entering the following alarm:

RAISE: [rain0total-sum24h] > 0
BODY: [rain0total-sum24h=in.01] should equal {*[rain0total-sum24h]/25.4*}

The result In my case? "2.0 should equal 2.04"

User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 407
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: Conversion Incorrect

Post by wvdkuil » Thu Feb 14, 2019 5:07 pm

LAWx wrote:
Thu Feb 14, 2019 4:02 pm
Meteobridge conversion from mm to inches is incorrect. This can be tested during any rain event by entering the following alarm:

RAISE: [rain0total-sum24h] > 0
BODY: [rain0total-sum24h=in.01] should equal {*[rain0total-sum24h]/25.4*}

The result In my case? "2.0 should equal 2.04"
As far as I can see with =in.01 the number of decimals requested is 1 , the default
If you want two decimals it should be =in.2

Wim

Post Reply