What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Calulator Plugin

Pages: (3): « First [ 1 ] 2 3 » Last »
Calulator Plugin
Author: Message:
Orkblutt
Junior Member
**

Avatar

Posts: 74
Joined: Aug 2004
O.P. Wink  Calulator Plugin
Yip,

here my first and really simple MsgPlus calculator plugin...


commands:

/xcalc algebric_expression

/xprecis floatting_point_precision  (by default precision = 2)


example:

/xcalc ((2+1)*(2+1))*(2+1)
=27

/xcalc (((2+1)*2+1)*2+1)
=15

/xcalc (666/77)*8+(2*3.5)-(2.78*8.7)
=52.01

/xprecis 16

/xcalc (666/77)*8+(2*3.5)-(2.78*8.7)
52.0088051948052050


CAUTION!
you must use () when some * or /

/xcalc 666/77*8
=1.08                             ==> FALSE !!!

/xcalc (666/77)*8          ==> TRUE !!!
=69.20

I'll correct that in futur releases and I'll implement all basic algebric function like abs(), mod(), pow(), sqrt(), ...

Futur versions will be multiple precision arithmetic (no bytes limitations ;))

Report all bugs here please.



.zip File Attachment: MPPluginCalculator.zip (33.36 KB)
This file has been downloaded 195 time(s).
09-13-2004 10:55 PM
Profile E-Mail PM Find Quote Report
RebelSean
Veteran Member
*****

Avatar
Microsoft Evangelist

Posts: 2602
Reputation: 59
34 / Male / Flag
Joined: May 2004
Status: Away
RE: Calulator Plugin
Just downloaded, installed. Works good. But I doubt if I will use it... No bugs. Works fine for me :d....Good Job (y)....
I'm on: Twitter, Facebook, and Neowin
09-13-2004 11:23 PM
Profile PM Web Find Quote Report
Orkblutt
Junior Member
**

Avatar

Posts: 74
Joined: Aug 2004
O.P. RE: Calulator Plugin
you're the first to test it ;)

I think I'll developp a complete math tool in the futur...
Don't know who will use it.. ehehe
just me? ihih
09-13-2004 11:25 PM
Profile E-Mail PM Find Quote Report
RebelSean
Veteran Member
*****

Avatar
Microsoft Evangelist

Posts: 2602
Reputation: 59
34 / Male / Flag
Joined: May 2004
Status: Away
RE: Calulator Plugin
I just use my calculator on my pc...:p...But I will give it to people if they ever ask for something like this....P.S. Why didn't you get beta testers before ya released?? :S
I'm on: Twitter, Facebook, and Neowin
09-13-2004 11:28 PM
Profile PM Web Find Quote Report
Orkblutt
Junior Member
**

Avatar

Posts: 74
Joined: Aug 2004
O.P. RE: Calulator Plugin
you're my beta tester ;)
Why are you asking that? Some bugs? :(
09-13-2004 11:33 PM
Profile E-Mail PM Find Quote Report
riahc4
Veteran Member
*****


Posts: 1073
Reputation: -18
– / Male / Flag
Joined: Aug 2004
Status: Away
RE: Calulator Plugin
You should make a installer. It looks pretty good from the looks of it tho. No bugs found.
09-13-2004 11:58 PM
Profile PM Find Quote Report
Orkblutt
Junior Member
**

Avatar

Posts: 74
Joined: Aug 2004
O.P. RE: Calulator Plugin
I'll make an installer when it will be a little more advanced... it's just for test here :)
09-13-2004 11:59 PM
Profile E-Mail PM Find Quote Report
RebelSean
Veteran Member
*****

Avatar
Microsoft Evangelist

Posts: 2602
Reputation: 59
34 / Male / Flag
Joined: May 2004
Status: Away
RE: Calulator Plugin
No. No bugs. Just asking why didn't you get beta testers before you made it public :p.
I'm on: Twitter, Facebook, and Neowin
09-14-2004 12:55 AM
Profile PM Web Find Quote Report
Orkblutt
Junior Member
**

Avatar

Posts: 74
Joined: Aug 2004
O.P. RE: Calulator Plugin
because you are my beta testers... it's a plugin dev forum here I think... :)
09-14-2004 02:06 AM
Profile E-Mail PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Calulator Plugin
Have you considered using Reverse Polish notation? It completely removes the need for parentheses.
Example:
(6+4)*10
becomes
6 4 + 10 *
Both result in 100.
[Image: spartaafk.png]
09-14-2004 12:51 PM
Profile PM Web Find Quote Report
Pages: (3): « First [ 1 ] 2 3 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On