Skip to content

gen feature allows 0 for MAXIMUM_DIGITS #2497

Open
@nus-pe-bot

Description

@nus-pe-bot

image.png

When given 0 for MAXIMUM_DIGITS field, it generates all zeroes. This behaviour shouldn't exist as there should be no numbers with 0 maximum digits.

Perhaps there should be checks to verify if it is 0?


[original: nus-cs2113-AY2324S2/pe-interim#2443] [original labels: severity.Low type.FunctionalityBug]

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions