It is currently April 27th, 2024, 9:31 pm

Feature Request: Negative Modulus

Report bugs with the Rainmeter application and suggest features.
MrJackFrost
Posts: 18
Joined: May 25th, 2012, 8:41 pm

Feature Request: Negative Modulus

Post by MrJackFrost »

Negative modulus returns the correct result programmatically but does not return the correct result mathematically. It would be nice if a feature was added so that it returns the correct mathematical result :)
User avatar
JamesAC
Developer
Posts: 318
Joined: July 14th, 2009, 5:57 pm

Re: Feature Request: Negative Modulus

Post by JamesAC »

Can you provide an example? I am not completely clear what the issue/request is for.
+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
Quis custodiet ipsos custodes?
MrJackFrost
Posts: 18
Joined: May 25th, 2012, 8:41 pm

Re: Feature Request: Negative Modulus

Post by MrJackFrost »

JamesAC wrote:Can you provide an example? I am not completely clear what the issue/request is for.
[Measure]
Measure=Calc
Formula=(-5%7)

[Meter]
Meter=String
MeasureName=Measure
FontColor=255,255,255,255
Text=-5%7 = 2 --> Rainmeter returns %1
User avatar
Brian
Developer
Posts: 2688
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Feature Request: Negative Modulus

Post by Brian »

JamesAC wrote:Can you provide an example? I am not completely clear what the issue/request is for.
Here is a reference thread: http://rainmeter.net/forum/viewtopic.php?f=5&t=12306

-Brian