Skip to content

Error with oracle round function #53

Open
@Wukkkinz-0725

Description

@Wukkkinz-0725

When I try to run select round(v, 2) from test_round;, I want to get Float number result, but the return type is Number(0,0).

Number(0,0) will be parsed as Integer because the scale is 0.

test_round
v
1.111
2.222
3.333

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions