lewis198
- 95
- 0
I was wondering, if you have the function:
f(x)=A/B
and the value returned is a non-integer, what form would the function g(x) have if it were to return the decimal part of the value returned multiplied by B?
For example:
A/B=3.245862
What function would return B*0.245862?(This is a specific example of course, what I am looking for is a function that is valid for all numbers, at least for all positve integers of A, and all positive values of B) Thank you for your time.
f(x)=A/B
and the value returned is a non-integer, what form would the function g(x) have if it were to return the decimal part of the value returned multiplied by B?
For example:
A/B=3.245862
What function would return B*0.245862?(This is a specific example of course, what I am looking for is a function that is valid for all numbers, at least for all positve integers of A, and all positive values of B) Thank you for your time.