Samual Sam has Published 2492 Articles

log10() function in PHP

Samual Sam

Samual Sam

Updated on 27-Dec-2019 06:51:22

58 Views

The log10() function Return the base-10 logarithm of a number.Syntaxlog10(num)Parametersnum − The value to calculate the logarithm for.ReturnThe log10() function Returns base 10 logarithm of a number.Example Live DemoOutput0ExampleLet us see another example − Live DemoOutput-INFExampleLet us see another example − Live DemoOutput10.43136376415899

cosh() function in PHP

Samual Sam

Samual Sam

Updated on 26-Dec-2019 10:35:17

81 Views

The cosh() function Returns the hyperbolic cosine of a number. The value Returned is a floating point number.Syntaxcosh(num)Parametersnum − Specifies a number in radiansReturnThe cosh() function Returns the hyperbolic cosine of a number. The value Returned is a floating point number.Example Live DemoOutput1.54308063481521.5430806348152ExampleLet us see another example − Live DemoOutput1Example Live DemoOutput11.591953275522267.74676148375Read More

ceil() function in PHP

Samual Sam

Samual Sam

Updated on 26-Dec-2019 10:32:49

190 Views

The ceil() function rounds a number to the nearest integer. The value is rounded up to the nearest greatest integer.Syntaxceil(num)Parametersnum − The number to round upReturnThe ceil() function Returns the value rounded up to the nearest (up) integer.Example Live DemoOutput11ExampleLet us see another example − Live DemoOutput2ExampleLet us see another example − Live ... Read More

base_convert() function in PHP

Samual Sam

Samual Sam

Updated on 26-Dec-2019 10:31:17

52 Views

The base_convert() function converts a number from one base to another, for example, octal number to decimal number. The base mentioned here should be between 2 and 36. Digits in numbers with a base greater than 10 is represented with the letters a-z i.e a is 10, , d is ... Read More

atan2() function in PHP

Samual Sam

Samual Sam

Updated on 26-Dec-2019 10:28:28

91 Views

The atan2() function returns the arc tangent of two variables.Syntaxatan2(val1, val2)Parametersval1 − The dividendval2 − The divisorReturnThe atan2() function returns the arc tangent of val2/ val1 in radians. The returned value is between -Pi and Pi.Example Live DemoOutput0.785398163397450.78539816339745ExampleLet us see another example − Live DemoOutput-2.3561944901923-2.2318394956456

number_format() function in PHP

Samual Sam

Samual Sam

Updated on 26-Dec-2019 07:21:15

239 Views

The number_format() function is used to format a number with grouped thousands.Syntaxnumber_format(num, decimals, decimal_pt, separator)Parametersnum − The number to be formatted.decimals − Specifies how many decimals.decimal_pt − The string to be used for decimal point.separator − Specifies the string to be used for thousands separator.ReturnThe number_format() function returns the formatted ... Read More

timezone_name_get() function in PHP

Samual Sam

Samual Sam

Updated on 24-Dec-2019 10:22:52

20 Views

The timezone_name_get() function returns the name of the timezone.Syntaxtimezone_name_get(obj)Parametersobj − A DateTimeZone object.ReturnThe timezone_name_get() function returns array on success or FALSE on failure.ExampleThe following is an example − Live DemoOutputThe following is the output −Europe/Paris

date_time_set() function in PHP

Samual Sam

Samual Sam

Updated on 24-Dec-2019 08:43:08

33 Views

The date_time_set() function sets the time. It returns a DateTime object on success. FALSE on failure.Syntaxdate_time_set(obj, hour, minute, second)Parametersobj − DateTime objecthour − Hour of the time to setminute − Minute of the time to setsecond − Second of the time to setReturnThe date_time_set() function returns a DateTime object on ... Read More

get_object_vars() function in PHP

Samual Sam

Samual Sam

Updated on 24-Dec-2019 06:53:17

887 Views

The get_object_var() function gets the properties of the given object. It returns an associative array of defined object properties for the specified object.Syntaxget_object_vars(object)Parametersobject − An object instance.ReturnThe get_object_var() function returns an associative array of defined object properties for the specified object. If a property have not been assigned a value, ... Read More

Inserting rows in an empty table to test output of ABAP code

Samual Sam

Samual Sam

Updated on 16-Dec-2019 06:51:16

321 Views

You can find the option to either insert a row into a table or change the content of the table using the Table tools/Table display services

Advertisements