DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
decimal to integer sql
df2 = df.withColumn("col4", func.round(df["col3"]).cast('integer'))
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#decimal
#integer
#sql
ADD COMMENT
Topic
COMMENT
Name
3+7 =
Submit