brinley / jSignature

jQuery plugin for adding web signature functionality
http://www.unbolt.net/jSignature
690 stars 529 forks source link

VB.NET Base30 Error Found #179

Open n1njatalon opened 4 years ago

n1njatalon commented 4 years ago

I was not able to convert base30 to native and then back from native to base30. I was able to compare c# test units and found the issue lies in "ToBase30" function.

The line that causes these issues is: Dim div As Integer = num / mag

when it should be

Dim div As Integer = num \ mag