fix square root of 0
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user