Advertisement
TizzyT

Closeness -TizzyT

Apr 24th, 2018
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.19 KB | None | 0 0
  1.     'Calculates how close two numbers are given a scale and their difference
  2.     Public Function Closeness(S As Decimal, D As Decimal) As Decimal
  3.         Return 1D - (D / S)
  4.     End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement