Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Help with Math function

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-30-2008, 09:13 PM
go4saint
Guest
 
Posts: n/a
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, 07:44 AM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,463
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
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

Beginner's Guide / User's Guide
Reply With Quote
  #3 (permalink)  
Old 03-31-2008, 09:15 AM
go4saint
Guest
 
Posts: n/a
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 Off
Pingbacks are Off
Refbacks are On

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


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


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0