Find Jobs
Hire Freelancers

Convert SQL function into RPG (or C) language

$30-5000 USD

Completed
Posted about 12 years ago

$30-5000 USD

Paid on delivery
Hello, 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. Thank you! drop function [login to view URL] go create function [login to view URL] ( -- Datetype for @rate changed to float @rate float, @periods smallint, @principal numeric(20,2) ) returns numeric (38,9) as begin declare @pmt numeric (38,9) declare @WK_periods float, @WK_principal float, @wk_One float, @WK_power float -- Convert data for calculation select @WK_periods = @periods, @WK_principal = @principal, @WK_One = 1 select @pmt = round( -- Do all multiplication before division ( @WK_principal * (@rate*power(@WK_One+@rate,@WK_periods))) / (power(@WK_One+@rate,@WK_periods)-@WK_One) ,9) return @pmt end
Project ID: 2734871

About the project

12 proposals
Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$10 USD in 5 days
5.0 (24 reviews)
3.3
3.3
12 freelancers are bidding on average $25 USD for this job
User Avatar
See private message.
$63.75 USD in 5 days
4.8 (204 reviews)
6.7
6.7
User Avatar
See private message.
$4 USD in 5 days
4.9 (31 reviews)
5.1
5.1
User Avatar
See private message.
$17 USD in 5 days
5.0 (22 reviews)
4.3
4.3
User Avatar
See private message.
$7 USD in 5 days
4.9 (26 reviews)
3.7
3.7
User Avatar
See private message.
$50.15 USD in 5 days
5.0 (7 reviews)
2.8
2.8
User Avatar
See private message.
$20.40 USD in 5 days
5.0 (2 reviews)
2.5
2.5
User Avatar
See private message.
$50.15 USD in 5 days
5.0 (2 reviews)
1.6
1.6
User Avatar
See private message.
$10 USD in 5 days
5.0 (1 review)
0.8
0.8
User Avatar
See private message.
$25.50 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$30.60 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$8 USD in 5 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of ISRAEL
Netanya, Israel
5.0
4
Payment method verified
Member since Jul 2, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.