Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataStream
  • PyFlink Common

pyflink.table.expression.Expression.round#

Expression.round(places: Union[int, pyflink.table.expression.Expression[int]])[source]#

Rounds the given number to integer places right to the decimal point.

e.g. lit(646.646).round(2) leads to 646.65, lit(646.646).round(3) leads to 646.646, lit(646.646).round(0) leads to 647, lit(646.646).round(-2) leads to 600.

New in version 1.12.0.

previous

pyflink.table.expression.Expression.sign

next

pyflink.table.expression.Expression.between

Show Source

Created using Sphinx 4.5.0.