Find Jobs
Hire Freelancers

Can you use a loop function to solve a simple calculation?

$10-15 USD

完了済み
投稿日: 約13年前

$10-15 USD

完了時にお支払い
I sometimes have to write simple calculators in ASP that because of the approximations used result in one output value being slightly inaccurate. I can compensate by lowering an input value slightly and getting the correct output value but would like to do this dynamically. I wonder if this can be done simply in ASP by looping the calculation (I have tried but without success but I am not a coder). I have attached a very simple ASP script- I know it is not well written but it will do to test the concept- that sets a target value (t) for the output of a total (s) comprised of 3 simple calculations, s1, s2 and s3. The way the calculations are set it is impossible to put say 10 in and get 10 out. But if you put say 5 in you will get 10 out. This is an extreme example of what I am trying to do. Can you take a target value say 15, and add code that will enable the 3 simple calculations to loop until 15 is obtained but leave the target value unchanged? I can do this easily in Excel using Goal seek and changing a cell so that users don't see the cell containing the changed value. I am fairly certain that this can be done in ASP so this project is really to see if someone can do this for this test calculation. If so, I need what you to explain what you have done. ## Deliverables The simple script is given in the zipped folder. Am image of what I am trying to do is also provided. * * *This broadcast message was sent to all bidders on Monday May 2, 2011 4:37:07 PM: Ok I have not explained this project well. Apologies. What do I want? What do I want. I want coders to devise an ASP script that will take the number inputted (t) and cycle calculations s1, s2 and s3 so that their sum (s) is equal to (t) but leave the input number on the form itself unchanged. The calcualtions s1 etc have no significance. I will not use them. Hopefully this help? Mike
プロジェクト ID: 3285127

プロジェクトについて

1個の提案
リモートプロジェクト
アクティブ 13年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
See private message.
$12 USD 14日以内
4.9 (531 レビュー)
6.7
6.7

クライアントについて

UNITED KINGDOMのフラグ
Cookstown, United Kingdom
5.0
68
お支払い方法確認済み
メンバー登録日:12月 2, 2003

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。