Closed GoogleCodeExporter closed 8 years ago
In JS, 3 + 4 = 7 but '3' + '4' = '34' as a string.
The prompt block allows both text and number. You just have to click into the
field "text" to see the drop down with an option for "number" instead.
See this example:
http://blockly-demo.appspot.com/static/demos/code/en.html#84urto
(Whether or not we should make the dropdown more obvious is a design question,
with both pros and cons, which may be revisited.)
Original comment by Q.Neut...@gmail.com
on 17 Dec 2012 at 2:20
thanx..:)..now it seems to me to be a silly question..:P
Original comment by dwipaya...@gmail.com
on 17 Dec 2012 at 5:05
Original issue reported on code.google.com by
dwipaya...@gmail.com
on 16 Dec 2012 at 5:41