apitable / apitable/apitable

feat: Format decimals in formula or change the behavior of `ROUND` when convert `decimals` to `string`

Đang mở
#576 1 bình luận 0 reaction 1 người được giao Được @Alex-hufeng nhận Xem trên GitHub
enhancement
Ngôn ngữ chính
TypeScript
Star
15.6k
Fork
1.4k
Merge trung bình
20 phút
Pull request đã merge (30 ngày)
1

Mô tả

I have an idea for this project.

## Why?

Formated decimals will make the table much readability and pretty

## What?

![2023-03-17 16-11-46 的屏幕截图](https://user-images.githubusercontent.com/14882692/225850754-e2c26110-419c-4eb4-a276-9c7991d338b7.png)

- Formula in the picture is: `CONCATENATE(ROUND({value}/7*100, 2),"/100g")`.
- The length of column `formula` is not the same and make it not pretty

## How?

- Add functions that allow formatting decimals, similar to the command `printf` in `C` language.
- Or make the `ROUND` keep the last zero after converting to a `string`.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.