groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Theodorou <blackd...@gmx.org>
Subject Re: Casting Double to BigDecimal
Date Tue, 12 Jan 2016 12:08:12 GMT


Am 12.01.2016 um 11:01 schrieb Schalk Cronjé:
> Jochen,
>
> Should one thus prefer the usage of  '(TYPE) x'  over 'x as TYPE' in code?

in performance critical parts? yes. Otherwise I think it does not matter 
too much.

bye Jochen

Mime
View raw message