Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Help with Math function


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-30-2008, 10:13 PM
Banned
 
Join Date: Mar 2008
Posts: 5
Question Help with Math function

Hello,

I've started to develop an simple app, and at the end I found that it is not working because "exp" math function is not recognized.

Can anyone help me with this math function ?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 03-31-2008, 08:44 AM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 675
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

Hello go4saint,

instead of Exp(x) you should use cE^x
cE is the constant e

There is also a difference with VB for the Log function
Code:
            B4PPC      VB
log 10      Log(x)     Log10(x)
log e       LN(x)      Log(x)
Best regards
__________________
Klaus
Switzerland
Reply With Quote
  #3 (permalink)  
Old 03-31-2008, 10:15 AM
Banned
 
Join Date: Mar 2008
Posts: 5
Default

Thank you!

It works nice, now.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Function Key eillezcas Questions & Help Needed 0 08-27-2008 09:28 PM
Small math-trainer token Share Your Creations 3 07-17-2008 07:29 PM
Exp() function Bruno Questions & Help Needed 5 06-05-2008 08:03 PM
Fixed Point Math im4retro Questions & Help Needed 3 05-31-2008 07:13 AM
Scientific Math Text Input Evaluator Rioven Code Samples & Tips 5 11-24-2007 07:53 AM


All times are GMT. The time now is 10:02 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0