question: public double calculateLocalSwapTotalCapacity ( int hostcount , int hostlocalswapsize ) { double d = ( double ) ( hostcount * hostlocalswapsize ) / 1024 ; d *= - 1 ; d = ( double ) Math . round ( d * 100 ) / 100 ; return d ; }
target:  Calculate total amount of virtual machine vswap saved in shared storage when local vswap option is enabled. This option enabled virtual machine vswap placement on host local storage. Return value in terabytes.