realestate.rental_yield
Calculate gross or net rental yield percentages from annual rent, property price, and optional annual expenses, with configurable decimal rounding.
Instructions
임대수익률을 백분율(%) 문자열로 계산한다. gross 는 연간 임대수입 / 매입가격, net 은 (연간 임대수입 - 연간 비용) / 매입가격이며 금액은 원 단위 문자열이다. rounding(기본 HALF_EVEN)으로 decimals(기본 2) 자리까지 반올림하고, 비용이 임대수입보다 크면 net 은 음수다. gross 는 비용을 보지 않는다. 오용 예: 월 임대료를 연 환산하지 않고 annual_rent 에 입력.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decimals | No | ||
| rounding | No | HALF_EVEN | |
| yield_type | No | gross | |
| annual_rent | Yes | ||
| property_price | Yes | ||
| annual_expenses | No | 0 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| trace | Yes | 계산 근거(tool, formula, inputs, steps, output) | |
| yield_pct | Yes |