Skip to content

Commit

Permalink
Merge pull request #965 from bartljak/issue#960
Browse files Browse the repository at this point in the history
fixed issue 960
  • Loading branch information
paulkaplan committed Mar 19, 2018
2 parents ec0eca2 + 11e12cc commit 979c8b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blocks/scratch3_looks.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ class Scratch3LooksBlocks {
// @TODO in 2.0 calling say/think resets the right/left bias of the bubble
let message = args.MESSAGE;
if (typeof message === 'number') {
message = message.toFixed(2);
message = parseFloat(message.toFixed(2));
}
message = String(message);
this.runtime.emit('SAY', util.target, 'say', message);
Expand Down

0 comments on commit 979c8b0

Please sign in to comment.