Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ret double with decimal places..
#1
Why do the decimal places not return through from a member function?..or any other function for that matter!

Is is possible to return a number with decimal places?

Could it be added to QM if not?
#2
Function Function9
Code:
Copy      Help
function'double

double a = 1.2
ret a

Function Function10
Code:
Copy      Help
out Function9

or

Function Function10
Code:
Copy      Help
double a = Function9
out a

that should do it for you.
#3
That's exactly what I thought, but I have found this doesn't always work.

Trust me...I used the exact same way you just exemplified and it did not work.

I'll have rework my example...I changed it and found a way to make it do what I wanted, but I've had this problem in the past as well.

I'll find an example where QM does not do what I need it to.

Thanks for the reply,
Jimmy Vig


Forum Jump:


Users browsing this thread: 1 Guest(s)