vb.net - Convert c# code to VB -
i using math function. code below.it c# code .please convert vb using ctype(variable,type). tried end in vain
itmpwidth = (integer)(math.floor((double)((double)gridcol.width / (double)itotalwidth * (double)itotalwidth * ((double)e.marginbounds.width / (double)itotalwidth))))
please .
try one:
itmpwidth = directcast(math.floor(cdbl(cdbl(gridcol.width) / cdbl(itotalwidth) * cdbl(itotalwidth) * (cdbl(e.marginbounds.width) / cdbl(itotalwidth)))), [integer]);
Comments
Post a Comment