Guest User

Untitled

a guest
Jan 24th, 2018
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. Declare @repayment_in_yrs numeric(10,2)
  2. SET @repayment_in_yrs = 1.1
  3. select ((@repayment_in_yrs % 1)*100)/10
  4. Select ((@repayment_in_yrs - (@repayment_in_yrs %1)) * 12)
  5. Select (((@repayment_in_yrs % 1)*100)/10) + ((@repayment_in_yrs - (@repayment_in_yrs %1)) * 12)
Add Comment
Please, Sign In to add comment