Watchface Builder Wiki

Ultimate Watchface Builder

User Tools

Site Tools


tags

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
tags [2016/02/28 13:34]
Wearable Software [Phone Info]
tags [2016/02/28 15:29]
Wearable Software
Line 73: Line 73:
  
 ^ Tag ^ Description ^ Example ^ ^ Tag ^ Description ^ Example ^
-|blp|Battery Level Percentage|0,67|+|blp|Battery Level Percentage|67%|
 |bln|Battery Level Integer|67| |bln|Battery Level Integer|67|
 |btc|Battery Temperature °C|28°C| |btc|Battery Temperature °C|28°C|
Line 108: Line 108:
 |wchn|Current Humidity Number|38| |wchn|Current Humidity Number|38|
 |wchp|Current Humidity Percentage|38.0%| |wchp|Current Humidity Percentage|38.0%|
-|wsunrise|Sunrise Time for Current Location|0,263888888888889+|wsunrise|Sunrise Time for Current Location|6:51 AM
-|wsunset|Sunset Time for Current Location|0,74375+|wsunset|Sunset Time for Current Location|6:51 PM
-|wsunrise24|Sunrise Time for Current Location (24hr)|0,263888888888889+|wsunrise24|Sunrise Time for Current Location (24hr)|6:51
-|wsunset24|Sunset Time for Current Location (24hr)|0,74375|+|wsunset24|Sunset Time for Current Location (24hr)|18:51|
 |swunristh|Sunrise Hour for Current Location|6| |swunristh|Sunrise Hour for Current Location|6|
 |wsunrisem|Sunrise Minute for Current Location|20| |wsunrisem|Sunrise Minute for Current Location|20|
Line 139: Line 139:
 |wfeci|Forecast Day 5 Condition Icon|1| |wfeci|Forecast Day 5 Condition Icon|1|
  
 +===== Built-in operators =====
 +      * Addition: 2 + 2
 +      * Subtraction: 2 - 2
 +      * Multiplication: 2 * 2
 +      * Division: 2 / 2
 +      * Exponentation: 2 ^ 2
 +      * Unary Minus,Plus (Sign Operators): +2 - (-2)
 +      * Modulo: 2 % 2
  
 +===== Mathematical Functions =====
 +You can also use mathematical functions for your expression. These expressions are supported:
  
 +      * abs: absolute value
 +      * acos: arc cosine
 +      * asin: arc sine
 +      * atan: arc tangent
 +      * cbrt: cubic root
 +      * ceil: nearest upper integer
 +      * cos: cosine
 +      * cosh: hyperbolic cosine
 +      * exp: euler's number raised to the power (e^x)
 +      * floor: nearest lower integer
 +      * log: logarithmus naturalis (base e)
 +      * log10: logarithm (base 10)
 +      * log2: logarithm (base 2)
 +      * sin: sine
 +      * sinh: hyperbolic sine
 +      * sqrt: square root
 +      * tan: tangent
 +      * tanh: hyperbolic tangent
  
 +==== Example ==== 
 +<code>ceil({wct})</code> 
 +Returns the integer value for the current temperature
  
  
tags.txt · Last modified: 2021/02/17 21:40 (external edit)