PlanetCNC / PlanetCNCNpp

Expression calculator plugin for Notepad++
3 stars 0 forks source link

modulo operator % (percent) is not working #6

Open circcc opened 12 months ago

circcc commented 12 months ago
          There is modulo operator % (percent).

See this: https://cnc.zone/expr/operators/oper-modulo

Originally posted by @PlanetCNC in https://github.com/PlanetCNC/PlanetCNCNpp/issues/5#issuecomment-1628322674

Have you tested it? I already checked that the % operator doesn't work and made a feature request.

252524036-8f707c30-d7ab-4427-97b5-2dbfefb08a0e

I get an error like this status bar with "8 % 3". win11/npp v8.5.4(64-bit)/PlanetCNC v2021.11.23.

PlanetCNC commented 12 months ago

This was fixed in version PlanetCNC v2021.11.25 but unfortunately this version was not published. I'll make new build with lots of new features in next days.

My main problem is, that I always forget how to officially release new version :-)

PlanetCNC commented 12 months ago

Version 25 is available here: https://planet-cnc.com/wp-content/uploads/sw/Npp/PlanetCNCNpp64.zip

MAXANGE2B commented 2 months ago

I have an other problem with the modulo operator it is only programming modulo and it would be nice an option or a different operator for mathematical modulo