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

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 196 time(s).
09-13-2004 10:55 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Calulator Plugin - by Orkblutt on 09-13-2004 at 10:55 PM
RE: Calulator Plugin - by RebelSean on 09-13-2004 at 11:23 PM
RE: Calulator Plugin - by Orkblutt on 09-13-2004 at 11:25 PM
RE: Calulator Plugin - by RebelSean on 09-13-2004 at 11:28 PM
RE: Calulator Plugin - by Orkblutt on 09-13-2004 at 11:33 PM
RE: Calulator Plugin - by riahc4 on 09-13-2004 at 11:58 PM
RE: Calulator Plugin - by Orkblutt on 09-13-2004 at 11:59 PM
RE: Calulator Plugin - by RebelSean on 09-14-2004 at 12:55 AM
RE: Calulator Plugin - by Orkblutt on 09-14-2004 at 02:06 AM
RE: Calulator Plugin - by RaceProUK on 09-14-2004 at 12:51 PM
RE: Calulator Plugin - by Orkblutt on 09-14-2004 at 01:07 PM
RE: Calulator Plugin - by jameslives on 09-14-2004 at 03:01 PM
RE: Calulator Plugin - by Orkblutt on 09-14-2004 at 03:03 PM
RE: Calulator Plugin - by jameslives on 09-14-2004 at 03:04 PM
RE: Calulator Plugin - by Orkblutt on 09-14-2004 at 03:06 PM
RE: Calulator Plugin - by lhunath on 09-14-2004 at 03:07 PM
RE: Calulator Plugin - by jameslives on 09-14-2004 at 03:08 PM
RE: Calulator Plugin - by Orkblutt on 09-14-2004 at 03:15 PM
RE: Calulator Plugin - by jameslives on 09-14-2004 at 03:23 PM
RE: Calulator Plugin - by RaceProUK on 09-14-2004 at 04:08 PM
RE: Calulator Plugin - by lhunath on 09-14-2004 at 04:10 PM
RE: Calulator Plugin - by RaceProUK on 09-14-2004 at 04:12 PM
RE: Calulator Plugin - by aNILEator on 09-14-2004 at 04:26 PM
RE: Calulator Plugin - by CookieRevised on 09-14-2004 at 05:15 PM
RE: Calulator Plugin - by Orkblutt on 09-14-2004 at 05:55 PM
RE: Calulator Plugin - by MessEnGer on 09-14-2004 at 06:21 PM
RE: Calulator Plugin - by Millenium_edition on 09-14-2004 at 06:35 PM
RE: Calulator Plugin - by RaceProUK on 09-14-2004 at 07:29 PM
RE: Calulator Plugin - by Orkblutt on 09-14-2004 at 09:58 PM


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