If I have two tables of integer values like:
Table:Distance
1
2
3
4
5
Table:Time
2
4
6
8
10
How do I divide the Table:Distance by Table:Time to achieve
Result:
0.5
0.5
0.5
0.5
0.5
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming Time and Distance have some kind of relationship.
The cast to
floatis needed ifTime.valueorDistance.valueis anintegerto get the result as afloat.If you have no relationship between the tables you should create one.