adambard / adambard/learnxinyminutes-docs

[c/en] Wrong explanation of "float"s formatting in C

Open
#4,614 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Markdown
Stars
12.3k
Forks
3.7k
Avg merge
13h 10m
Merged PRs (30d)
6

Description

https://github.com/adambard/learnxinyminutes-docs/blob/fbaa905e23f26d20b37a3886dd8e07cd6edb8680/c.html.markdown#L819

This actually means "minimum 3 characters, including decimal point with 2 digits on the right of it"

![image](https://user-images.githubusercontent.com/35804000/223962861-50738bea-155d-45e5-a23c-c50d85bcdedc.png)

Contributor guide

Open the contributing guide

Research direction

Open c.html.markdown around line 819 and compare the explanation with C's float formatting behavior shown in the issue. Update the wording so it describes the minimum width and two digits to the right of the decimal point, then verify the rendered snippet matches the example.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.