473,326 Members | 2,168 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Is there a function for the following calculations


Hello

A tabel has two fields . Number and Power .
Power is the exponent for the calculation Ten (10) to the power of
..........
so power two(2) means 10*10 =100
1 = 10 (10*1)
0 = 1
-1= 0,1
-2= 0,01
etc..etc...

number power
1.25 ...... 2 wanted result.......125 .. ( 1.25 * 10 * 10 )
2.25 ...... 0 wanted result ......... 2.25 .. (2.25 * 1 )
3.75 ...... 1 wanted result .........37.50 .. (3,75 * 10)
1.75 ...... -1 wanted result ............0.175 (1.75 * 0,1 )
4.25 ...... -2 etc..etc...
3.00 ...... 3

Is for this calculation a function in access available ....???
Who can help me...?
Thanks in advance
Jan
Nov 12 '05 #1
1 1320

1.25 * 10^2

or
[number] * 10^[power]

Say the fields are in Table1 then the query SQL could be

SELECT Table1.number, Table1.power, [number]*10^[power] AS calc
FROM Table1;

--
Terry Kreft
MVP Microsoft Access
"Jan Smit" <ea**********@linq.nl> wrote in message
news:40*********************@reader3.nntp.hccnet.n l...

Hello

A tabel has two fields . Number and Power .
Power is the exponent for the calculation Ten (10) to the power of
.........
so power two(2) means 10*10 =100
1 = 10 (10*1)
0 = 1
-1= 0,1
-2= 0,01
etc..etc...

number power
1.25 ...... 2 wanted result.......125 .. ( 1.25 * 10 * 10 )
2.25 ...... 0 wanted result ......... 2.25 .. (2.25 * 1 )
3.75 ...... 1 wanted result .........37.50 .. (3,75 * 10)
1.75 ...... -1 wanted result ............0.175 (1.75 * 0,1 )
4.25 ...... -2 etc..etc...
3.00 ...... 3

Is for this calculation a function in access available ....???
Who can help me...?
Thanks in advance
Jan

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: David | last post by:
Hi everyone. I have read every page that Google returns on this topic, but can't find anything that resolves my problem. Basically, I have an Access Database that does a number of different...
2
by: JasBascom | last post by:
The function i'm having trouble with is of type boolean, the problem is, is that it is evaluating everything to true, and nothing to false. later the function will be used thus:...
1
by: Hohn Upshew | last post by:
I have a function for rating the clients depending on their quantity which works perfectly. My only problem is that my second function called GetSize is not recognized, and i need it in order to...
18
by: jimfortune | last post by:
I have an A97 module called modWorkdayFunctions in: http://www.oakland.edu/~fortune/WorkdayFunctions.zip It allows the counting of workdays taking into consideration up to 11 U.S. holidays. ...
14
by: E. Robert Tisdale | last post by:
Is a function an object?
15
by: Materialised | last post by:
I am having a problem with the following functions, I've been racking my brains trying to figure out where I am going wrong. What I need to do is return a formatted string with the current date and...
6
by: Brian | last post by:
I wrote this program to calculate a users gross pay based on marital status and the number of exemptions they have. I have a few questions about my functions, heres my code: #include <iostream>...
4
by: Hermann Maier | last post by:
hi, i need to find out the memory usage of a specific function that i use in my program. this function does some recursive calculations and i want my program to display the amount of memory the...
4
by: wrldruler | last post by:
Hello, First, I know it's against "Access Law" to save calculations in a table, but....I want/need to. I currently have sub-totals being calculated inside a form, using DMax, DCount, and...
6
by: jason | last post by:
Hi, I learned my lesson about passing pointers, but now I have a question about macros. Why does the function work and the MACRO which is doing the same thing on the surface, does not work in...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.