Convert SQL function into RPG (or C) language
This project received 4 bids from talented freelancers with an average bid price of $30 USD.Get free quotes for a project like this
There's a SQL function that needs to be translated into RPG (or C) language.
All the functionality in translated function has to be exactly as in the original. In the bidding, please mention the language you'll use for the outcome (RPG or C).
Below please review the original SQL function.
drop function [url removed, login to view]
create function [url removed, login to view]
-- Datetype for @rate changed to float
returns numeric (38,9)
declare @pmt numeric (38,9)
declare @WK_periods float,
-- Convert data for calculation
select @WK_periods = @periods,
@WK_principal = @principal,
@WK_One = 1
select @pmt =
-- Do all multiplication before division
( @WK_principal * (@rate*power(@WK_One+@rate,@WK_periods)))
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online