I'm fairly new to Rainmeter, so this is probably a super simple one...
Is it possible to use a formula in the data that WebParser fetches?
I have this so far - The URL spits out a string of numbers - specifically times in seconds - deliminated by commas.
The meter takes the second of these numbers and displays the number of seconds for that thing.
JayOtt wrote: ↑February 19th, 2019, 2:24 pm
Hi all!
I'm fairly new to Rainmeter, so this is probably a super simple one...
Is it possible to use a formula in the data that WebParser fetches?
I have this so far - The URL spits out a string of numbers - specifically times in seconds - deliminated by commas.
The meter takes the second of these numbers and displays the number of seconds for that thing.
My question is; how would I divide that number I get by 60 to get the time in minutes?
You are almost certainly going to want to use an Uptime measure for that. You don't want to just divide by 60 and display something like 3.25 minutes, that .25 is meaningless in the context of time. "3 minutes and 25 percent of a minute"? Ick... You want the number of minutes and the remainder of seconds.
jsmorley wrote: ↑February 19th, 2019, 2:48 pm
So when someone asks you the time, you say "it's three point two-five o'clock"?
"three and a quarter seconds" or "three and a quarter minutes" ... I don't need to say o'clock
since all decimal time is in percentages of the minute, hour, or day...
This concept will never catch on... it was an experiment in conversion, but I don't expect anyone to actually adopt it!
eclectic-tech wrote: ↑February 19th, 2019, 2:56 pm
"three and a quarter seconds" or "three and a quarter minutes" ... I don't need to say o'clock
since all decimal time is in percentages of the minute, hour, or day...
Sorry, that's fine with the shorthand for quarter or half, as long as you say "after" or "until", but nobody on this planet has taken "metric" that far in their daily lives, and says something like "it's three point seventy-eight o'clock".
Anyway, the original poster is welcome to just use a Calc measure and divide the number of seconds by 60 and end up with 3.78 or whatever, I just suggest that unless you are doing some kind of "math" with the result, where you want to display a Bar meter or something, that result isn't particularly useful.
You could also use Floor(), Ceil() or Round() in the formula if you want to round down, round up, or round naturally. Using Uptime with just the seconds in the Format option is effectively the same as Trunc() or Floor() in a Calc measure.