iaud-formula

Define and evaluate UI formulas for i-AUD controls with arithmetic and logical functions.

3|1|Updated Jun 12, 2025
Ready to run
npx skills add https://github.com/AUD-DEV-TEAM/i-AUD-Developer-Kit --skill iaud-formula
๐Ÿ’ฌ Prompt for ChatGPT / Claude Chatโ–ผ
Please help me install this Agent Skill.
Skill: iaud-formula
Source: https://github.com/AUD-DEV-TEAM/i-AUD-Developer-Kit/tree/main/.claude/skills/iaud-formula
Command: npx skills add https://github.com/AUD-DEV-TEAM/i-AUD-Developer-Kit --skill iaud-formula

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

i-AUD ๊ณ„์‚ฐ์ˆ˜์‹(FormulaManager)์€ ํ…์ŠคํŠธ๋ฐ•์Šค, ๋ผ๋ฒจ, ๋ฐ์ดํ„ฐ๊ทธ๋ฆฌ๋“œ ๋“ฑ์˜ ์ปจํŠธ๋กค์— ์ˆ˜์‹์„ ์„ค์ •ํ•˜์—ฌ ๊ฐ’์„ ์ž๋™ ์—ฐ์‚ฐํ•˜๋Š” ์‹œ์Šคํ…œ์ด๋‹ค. ์ˆ˜์‹ ๋‚ด ๋‹ค๋ฅธ ์ปจํŠธ๋กค์„ ์ฐธ์กฐํ•˜๋ฉด ํ•ด๋‹น ์ปจํŠธ๋กค์˜ ๊ฐ’ ๋ณ€๊ฒฝ ์‹œ ์ž๋™์œผ๋กœ ์žฌ์—ฐ์‚ฐ๋œ๋‹ค.

Core Features & Use Cases

  • ์ปจํŠธ๋กค ๊ฐ„ ์ฐธ์กฐ๋ฅผ ํ†ตํ•ด ์‹ค์‹œ๊ฐ„ ๊ณ„์‚ฐ์„ ๊ตฌํ˜„ํ•ฉ๋‹ˆ๋‹ค(e.g., :txtPrice, :txtQty์™€ ๊ฐ™์€ ์ฐธ์กฐ๋ฅผ ์‚ฌ์šฉ).
  • ๋‹ค์–‘ํ•œ ํ•จ์ˆ˜ ์„ธํŠธ(IIF/CASE, AND/OR, ์ˆ˜ํ•™ ์—ฐ์‚ฐ, ๋ฌธ์ž์—ด/๋‚ ์งœ ๋ณ€ํ™˜ ๋“ฑ)๋ฅผ ํ™œ์šฉํ•ด ๋น„์ฆˆ๋‹ˆ์Šค ๋กœ์ง์„ UI์—์„œ ์ง์ ‘ ๊ตฌํ˜„ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  • ๋ฐ์ดํ„ฐ๊ทธ๋ฆฌ๋“œ ๋ฐ ํ…์ŠคํŠธ๋ฐ•์Šค/๋ ˆ์ด๋ธ”์˜ ์ˆ˜์‹์„ ํ†ตํ•ด ์ด๊ณ„, ๋น„์œจ, ์กฐ๊ฑด๋ถ€ ๋ฉ”์‹œ์ง€ ๋“ฑ ๋™์  ํ”ผ๋“œ๋ฐฑ์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

Quick Start

Create a simple formula to multiply :txtPrice and :txtQty and assign it to the target control's Formula.

Frequently Asked Questions about iaud-formula

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate dynamic form totals automatically when input values change in a UI?โ–ผ

Define UI formulas on TextBox or Label controls that reference each other, such as multiplying :txtPrice and :txtQty, to trigger real-time automatic re-calculation whenever a referenced input value changes.

What functions are available for building UI formulas for text and grid controls?โ–ผ

UI formulas support a rich syntax including arithmetic operations, logical operators like AND/OR, conditional functions like IIF and CASE, and data-type conversion functions for strings and dates to build complex logic.

Can I use JavaScript mode for UI calculations instead of standard formula expressions?โ–ผ

Yes, the formula system supports both standard expression mode for typical arithmetic and logical operations, and JavaScript mode for scenarios requiring more advanced programmatic logic in UI calculations.

How do I apply conditional messaging or derived metrics inside a DataGrid?โ–ผ

You can apply formulas directly to DataGrid controls to compute grid-based derived metrics and display conditional messages, using references to other controls to automate value calculations dynamically.

Do I need external dependencies or libraries to evaluate real-time UI formulas?โ–ผ

No, the formula system operates directly within the i-AUD environment to evaluate UI formulas across TextBox, Label, and DataGrid controls without requiring any external dependencies or libraries.

Why does my UI formula not recalculate when I update a referenced TextBox value?โ–ผ

UI formulas recalculate automatically when referenced controls change, so ensure the target control's Formula property correctly uses the colon syntax like :txtPrice to establish the proper reference link for re-evaluation.