Browse Source

fix square root of 0

master
Chris Cromer 1 year ago
parent
commit
88714e3a1d
Signed by: cromer GPG Key ID: 39CC813FF3C8708A
  1. 6
      index.html
  2. 2
      js/jvon-interpret.js

6
index.html

@ -152,11 +152,11 @@
</tr>
</table>
<div class="credits">
<b>JVON Web</b><br/>
<b>JVON Web 1.1.2</b><br/>
{{strings.credits_description}}&nbsp;<b>{{strings.credits_john}}</b><br/>
{{strings.credits_cromer}}<br/>
Ingeniería Civil en Informática, Universidad del Bío Bío, 2015<br/>
<a target="_blank" href="jvon-1.1.1.apk">Version android</a>
Ingeniería Civil en Informática, Universidad del Bío Bío, 2015-2020<br/>
<!--<a target="_blank" href="jvon-1.1.1.apk">Version android</a>-->
</div>
</body>
</html>

2
js/jvon-interpret.js

@ -678,7 +678,7 @@ document.addEventListener('DOMContentLoaded', function () {
var syntax = $scope.check_syntax(value);
var sqr;
if (syntax.type == "blank") {
if ($scope.ac == "") {
if (typeof $scope.ac != 'number') {
alert($scope.strings.error_ac);
$scope.stop_code();
}

Loading…
Cancel
Save