Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[APIS-967] When Double type value is retrieved through CCI, when the value after the decimal point is 0, 0 is not returned. #73

Merged
merged 2 commits into from
Aug 8, 2023

Conversation

airnet73
Copy link
Contributor

@airnet73 airnet73 commented Aug 7, 2023

http://jira.cubrid.org/browse/APIS-967

Purpose
If the column type is designated as Double or Float Type, unnecessary zeros may be added to the decimal point when reading data with CCI, which is inconvenient to modify in the application.
If the "oracleStyleNumberReturn" property is true in the CCI Connection URL, 0 at the decimal point is not output.

Implementation
N/A

Remarks
N/A

…value after the decimal point is 0, 0 is not returned.
@airnet73 airnet73 requested a review from kisoo-han August 7, 2023 01:39
@airnet73 airnet73 self-assigned this Aug 7, 2023
@kisoo-han
Copy link
Contributor

suggest change of title text of this PR:

Remove meaningless trailing zeros after decimal point for the double type values

src/cci/cci_util.c Outdated Show resolved Hide resolved
src/cci/cci_util.c Outdated Show resolved Hide resolved
src/cci/cci_util.c Outdated Show resolved Hide resolved
@airnet73 airnet73 merged commit 0082bfc into CUBRID:develop Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants