Yahoo! Developer Network
Developer Solutions
Multi-Device
Media
APIs & Tools
Mojito
YQL
BOSS
YUI
Connected TV
PlaceFinder
Flickr
View all
Community
Forums
YDN Theater
Events
Blog
Search YDN
Search YDN
Search YDN
Sign In
Yahoo! Query Language
YQL Console
Code Examples
Documentation
Blog
Forum
Back to YQL Forum
Vote Up
0
Vote Down
JS Math functions don't work YQL Execute
Is there a reason that the JavaScript Math functions are not supported in YQL Execute? E.g.
CODE
Math.round(10.6);
Output: 10.6
Should be: 10
Tags:
execute
by
Ivo
Jun 15, 2009
Report Abuse
2 Replies
Ivo
Jun 15, 2009
Uhum... Should be: 11
Report Abuse
Vote Up
0
Vote Down
Ivo
Jun 15, 2009
For the Math.round there's an alternative:
CODE
var f = 10.6;
f.toFixed(0);
But the Math functions still don't work...
Report Abuse
Vote Up
0
Vote Down
Login to reply
Ask a Question
Recent Posts
in YQL