|
Re: Re: QuickQuestion: msg#00276windows.autoit.user
Red, I'm new user of AutoIt and not fluent in English (I'm brasilian), but very old in programming. See my comment on your solution down. I propose another solution: SetBatchLines,150 SetEnv,$Argument1,10.15 SetEnv,$Argument2,1062.5 GoSub,$Multiply setenv,WholeNum,%$Result% IfNotInString,$Result,.,Goto,nodec StringGetPos,DecPos,$Result,. StringLeft,WholeNum,$Result,%DecPos% nodec: EnvAdd,WholeNum,5 envdiv,WholeNum,10 StringRight,DecNum,WholeNum,2 StringTrimRight,WholeNum,WholeNum,2 SetEnv,$Result,%WholeNum%.%DecNum% MsgBox,4096,Total,%$Result% exit #Include Multiply.aut What do you think about it? -- [hugs] A.Miller amillerlistas@xxxxxxxxxxxxxxx R> StringTrimRight,DecNum,DecNum,1 Imagine decnum=99 at this point... ********************* R> IfGreater,RoundNum,4,EnvAdd,DecNum,1 R> JoinValue: R> SetEnv,$Result,%WholeNum%.%DecNum% R> Finish: R> MsgBox,4096,Total,%$Result% R> exit R> #Include Multiply.aut ------------------------ Yahoo! Groups Sponsor ---------------------~--> Looking for the latest Free IT White Papers? Visit SearchSecurity.com to access over 500 white papers. Get instant access at SearchSecurity.com Today http://us.click.yahoo.com/ayjvfD/QLNGAA/uitMAA/EGnolB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: AutoItList-unsubscribe@xxxxxxxxxxxxxxx Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Math Functions...: 00276, Private Name |
|---|---|
| Next by Date: | Re: Talking McDonalds Menu - Brian Keene: 00276, Brian Keene |
| Previous by Thread: | Re: QuickQuestioni: 00276, Redndahead |
| Next by Thread: | Re: QuickQuestion: 00276, Redndahead |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |