How to Use Arithmetic Operations🔥using JavaScript in Oracle Apex

  Рет қаралды 325

Knowledge Sign

Knowledge Sign

Күн бұрын

How to Use Arithmetic Operations🔥using JavaScript in Oracle Apex
Code:
-------------If specific operation perform ----------------
var num1 = $v('P536_TEST1');
var num2 = $v('P536_TEST2');
// Perform arithmetic operation
var result = parseFloat(num1) + parseFloat(num2); // You can change this to any arithmetic operation
// Display result in the 'P1_RESULT_ITEM' page item
$s('P536_TEST3', result);
-------------------------------------------------------------------------------------------------------------------
----------------------If multiple operation perform -------------------------
var num1 = $v('P536_N1');
var num2 = $v('P536_N2');
var operation = $v('P536_SELECT');
// Perform arithmetic operation based on the selected operation
var result;
switch (operation) {
case 'Addition':
result = parseFloat(num1) + parseFloat(num2);
break;
case 'Subtraction':
result = parseFloat(num1) - parseFloat(num2);
break;
case 'Multiplication':
result = parseFloat(num1) * parseFloat(num2);
break;
case 'Division':
result = parseFloat(num1) / parseFloat(num2);
break;
default:
result = 'Invalid operation';
}
$s('P536_RESULT', result); // Display result in the 'P1_RESULT_ITEM' page item
------------------------------------------------------------------------------------------------------------------
For More Videos,
Please Subscribe my Channel:
/ @knowledgesign22
Social Media links:
Facebook:
/ sharjeelrehmi
Emails:
knowledgesign22@gmail.com
Twitter:
/ sharjeelrehmi
queries:
Arithmetic Operators in Google Apps Script
Oracle Developers
Oracle
Relational Operators in Oracle
Logical and Relational Operators in Oracle
Operators in Oracle
Arithmetic Operation in Ruby
Logical Operators in Oracle
Click Function in JavaScript
Function in JavaScript in Urdu
Function in JavaScript in Hindi
Function in JavaScript Example
AND/OR Operators in Oracle
JavaScript Tutorials in Hindi
JavaScript Tutorial in Hindi

Пікірлер: 3
@AbdulAhadShafiqAhad
@AbdulAhadShafiqAhad 10 ай бұрын
Thank❤❤❤
@prozeeshoaib8557
@prozeeshoaib8557 10 ай бұрын
Aoa sir aap ke video both achi Hy Roz dakhty Hy ..par aap apex ..xe with ords k sath compulate video bana day ta k.apex local PC pa install kr k work kr sakhy sir
@knowledgesign22
@knowledgesign22 10 ай бұрын
Okay I will try to make this video next week
How to Use Confirmation Dialog using JavaScript in Oracle Apex
6:24
How to Calculate Days / Leave Days using PL/SQL in Oracle Apex
10:56
Knowledge Sign
Рет қаралды 1,3 М.
小天使和小丑太会演了!#小丑#天使#家庭#搞笑
00:25
家庭搞笑日记
Рет қаралды 57 МЛН
Mom had to stand up for the whole family!❤️😍😁
00:39
JavaScript in Oracle APEX - How to use JavaScript in Oracle Apex
9:19
Running Oracle APEX on Oracle WebLogic Server
8:20
Ricky B
Рет қаралды 4,4 М.
How to Use "Authorization Schemes" Security in Oracle Apex Pages
17:30
Knowledge Sign
Рет қаралды 2,9 М.
Oracle APEX | Using External JS Library and AJAX Process
28:23
Programming with Ismail Rafique
Рет қаралды 6 М.
How to Login App Using DB Table Users "Custom Auth" in Apex
14:37
Knowledge Sign
Рет қаралды 2,2 М.
This is apparently the most loved CRUD app of 2023
19:38
Dreams of Code
Рет қаралды 130 М.