- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Math.imul() function in JavaScript
The imul() function of the Math object accepts two numbers and returns the result of C-like 32-bit multiplication of the given numbers.
Syntax
Its Syntax is as follows
Math.imul(47, 56);
Example
<html> <head> <title>JavaScript Example</title> </head> <body> <script type="text/javascript"> var result = Math.imul(47, 56); document.write("Result: "+result); </script> </body> </html>
Output
Result: 2632
Advertisements