ChicoState / ChicoState/MyFirstExample

Non-whole number calculations

未关闭
#459 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
0
派生
418
平均合并
13 小时 31 分钟
30 天内合并 PR
1

描述

# Problem Description

Some calculations of two whole numbers may result in a decimal, such as division.

# Desired Behavior

When dividing two numbers, produce a result as a decimal number, such as `5/2` should produce `2.5` rather than `2`

贡献指南

这个仓库没有索引到贡献指南

调研方向

Search the project for the calculation or division logic and reproduce the reported 5/2 case. Update the relevant behavior so division of whole numbers preserves a decimal result, then verify that 5/2 produces 2.5 and that existing calculation behavior still works.

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp
领域
backend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
65/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。