Questions tagged [calc]

calc refers to anything remotely related to anything about calculating anything. Because of its vague purpose, it should be avoided.

refers to anything remotely related to anything about calculating anything. Because of its vague purpose, it should be avoided.

383 questions
4
votes
1 answer

How to convert formatted date to unix epoch in Libreoffice calc

I have column with cell format date or time (DD.MM.YYYY HH:MM:SS) and values like 03.12.2013 14:01:49 04.12.2013 10:19:27 04.12.2013 12:44:56 04.12.2013 14:20:12 04.12.2013 18:30:21 I need those values converted to unix epoch (seconds since 1970).…
Pavel Niedoba
  • 1,478
  • 2
  • 16
  • 34
4
votes
1 answer

How Calc() calculate in css?

Can somebody describe Use of Calc() in css? And what is ~ sign meaning with Calc()? How below code calculate? calc(~'(100% - 4 * 23.233%) / 3')
Dipesh Rangani
  • 165
  • 2
  • 3
  • 8
4
votes
1 answer

CSS3 calc() function not working correctly

I am using calc() to measure the available width of the input after subtracting the width of the sibling elements.
Mohd Abdul Mujib
  • 10,585
  • 8
  • 50
  • 78
4
votes
2 answers

Calc function in IE roundes the value and made items to push to next line

I have set the width of element using calc function as below width: calc((100% - (2rem * 2)) / 3); In Chrome the computed width is 412.663px in IE however it's computed as 412.67px so that in IE the last item pushed to next line/row. If I manually…
Negin Basiri
  • 1,071
  • 2
  • 17
  • 37
4
votes
3 answers

Is calc() supported in html email?

caniuse.com shows calc() can be used today in all modern browsers except Opera. But how good is the support for calc() in email clients? Please provide a link to blogs or guides which talk about this. EDIT I am referring to the CSS calc() function
Anubhav
  • 6,296
  • 4
  • 19
  • 32
4
votes
3 answers

Check for CSS calc doesn't work in Chrome

I searched for a way to detect whether a browser supports CSS calc and found this: How can I check if CSS calc() is available using JavaScript? I modified the solution of No. 5 as follows: help = $('') help.css({…
4
votes
1 answer

OpenOffice Calc chart not showing my datapoints?

OK, I have searched for an answer to this for ages, so please don't give me minus points :) I want to make a simple XY scatter graph in OpenOffice Calc, however when I have selected the X and Y columns and chosen the XY scatter, no data points show…
user1882385
  • 159
  • 2
  • 9
3
votes
4 answers

How to calculate CSS zoom factor in dependence on screen width?

Why I am asking this question? I don't want to create so many media queries for really big screens. If the screen size is bigger than 1920px, all the existing proportions should remain the same, and the appearance should be simply bigger in…
Lonely
  • 5,174
  • 6
  • 33
  • 67
3
votes
2 answers

Adding up the item values in a list with Emacs/Org-Mode

Is it possible to add up values in a list so the value next to 'Items Total' is the sum of all the sum items? Something like - * Items Total [10] ** Items 1 [1] ** Items 2 [5] ** Items 3 [4] Or if you have some other way of get the sum of values…
usertest
  • 25,503
  • 29
  • 65
  • 92
3
votes
2 answers

Javascript Calculator using if/else statements

I have a school project that is asking me to build a basic Javascript calculator using if/else statements. I’m very new to this language (and programming in general) and am having trouble with applying the syntax I have learned and how to…
Elisabeth
  • 45
  • 1
  • 4
3
votes
5 answers

App modeller, Identify button not showing up in blueprism spying

I am creating calculator VBO in blueprism object studio. In application modeller I gave calc.exe path and able to launch calculator, but I am not getting identify option to spy on any element.. In Element, After clicking Launch buttion, identify is…
phani_yelugula
  • 291
  • 1
  • 9
  • 12
3
votes
1 answer

Can't Calculate pixel-wise regression in R on raster stack with fun

I am working with rasters and I've a RasterStack with 7n layers. I would like to calculate pixel-wise regression, using formula beneath. I was trying to do it with raster::calc, but my function failed with message : 'Error in lm.fit(x, y, offset =…
Rinat S.
  • 31
  • 1
3
votes
4 answers

CSS calc() - Add 4px to "normal" line-height

I would like to add 4px to the current "normal" line-height of an element using CSS calc(). Unfortunately, "normal" is not a value that calc() recognizes, but it's the default value for line-height (such as line-height:normal). Thus, the following…
user3163495
  • 1,089
  • 11
  • 31
3
votes
5 answers

What is 100% in calc function

Within the css calc() function, what does 100% refer to and what is the equivalent code in JavaScript? #div1 { width: calc(100% - 100px); } JSFiddle: https://jsfiddle.net/xoufnm6v/
user4648588
3
votes
2 answers

Trying to find derivative of function using python

I am trying to find the derivative of this function: y = 100e^-0.0482t This is the code I have: import math from sympy import * import numpy as np x = Symbol('x') y = (math.exp(-.0482 * x) * 100) yprime = y.diff(x) yprimerep =…
drdrew
  • 51
  • 2
  • 5
1 2
3
25 26