Dhruv Sahnan

Results comments of Dhruv Sahnan

@limzykenneth Hey, if there's still a problem over this implementation, can I take it up? (asking if there's a problem because there isn't any reply to @Ajayneethikannan 's suggestion) Also,...

@limzykenneth Hey, sorry, I missed your reply yesterday. So basically what I was suggesting is that I'd work on the number (whose fractional part needs to be returned) as a...

@limzykenneth Keep in mind that passing in an algebraic expression would need more work, but I think it would be easier to solve using the concept of significant digits and...

@limzykenneth Okay, so just to be clear, is it okay if any expression passed into fract() returns inaccurate values as in 0.3-0.2? Or is fract(0.3-0.2) supposed to return 0.1? Because...

@limzykenneth Umm so a solution around the lines of what @ankur54 has suggested would work?

Okay, I'll post a possible implementation here tonight, so just maybe have a look at it when you can.

```javascript function fract(num){ var toConvert=Number(num); var sign=0; if(isNaN(toConvert)){ return NaN; } else{ if(toConvert

Hey, @limzykenneth, have you had a chance to look at this?

Okay, I'll file one today