'------------------------------------------------------------------------------- 'File : udf_ceil.bas ' Copyright mpl by ERB software ' All rights reserved ' http://wiki.yaslaw.info/dokuwiki/doku.php/vba/functions/concat 'Environment : VBA 2010 + 'Version : 1.0.0 'Name : ceil 'Author : Stefan Erb (ERS) 'History : 16.06.2014 - ERS - Creation '------------------------------------------------------------------------------- Option Explicit '/** ' * Rundet eine Zahl auf. Das gegenteil von fix() ' * ' * double = ceil(zahl) ' * ' * @param Variant ' * @return Double ' */ Public Function ceil(ByVal iValue As Variant) As Double ceil = Fix(iValue + 0.9999999999) End Function